[Libreoffice] [PATH] set bash completion for oo* wrappers when enabled

Petr Mladek pmladek at suse.cz
Wed Jan 19 11:31:02 PST 2011


Rene Engelhard píše v St 19. 01. 2011 v 19:19 +0100:
> Hi,
> 
> On Wed, Jan 19, 2011 at 07:15:12PM +0100, Petr Mladek wrote:
> > could you please review the attached patch for the libreoffice-3-3
> > branch?
> 
> OK for bin/generate-bash-completion obviously ...
> 
> > It produces extra /etc/bash_completion_d/ooffice.sh for the compat
> > stuff. It was the easiest and most safe solution. It generates exactly
> > the same .sh files that I got by the previous builds here.
> 
> ... but what happens if one has ooffice.sh and libreoffice.sh there? Isn't
> one of them totally redundant? Would it cause problems?

Great catch! It seems that my testing was not sufficient.

Please, find attached 2nd version of the fix. What do you think about
it? ;-)

It uses different name for the generated bash function. It works here
for the oo* and lo* wrappers at the same time now.


Best Regards,
Petr



More information about the LibreOffice mailing list