diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2017-06-21 23:15:21 +0300 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-06-27 08:48:26 +0200 |
commit | 344a5dbc5c35255994a9e31df83cf964e6709246 (patch) | |
tree | cebf32a171d24a328323f70ee2cc61d4aa8c8f77 /bin/distro-install-desktop-integration | |
parent | c937c6828784260f3536a37f8e297dc721a7d974 (diff) |
Ported bin/generate-bash-completion from Perl to Python
Change-Id: Ie1b5cd0a1f64198f8e6362a02484055c5ae6b26e
Reviewed-on: https://gerrit.libreoffice.org/39077
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'bin/distro-install-desktop-integration')
-rwxr-xr-x | bin/distro-install-desktop-integration | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/distro-install-desktop-integration b/bin/distro-install-desktop-integration index b335dd4d814b..1d2484b324d0 100755 --- a/bin/distro-install-desktop-integration +++ b/bin/distro-install-desktop-integration @@ -178,10 +178,10 @@ test -f $DESTDIR/gid_Module_Root_Brand && echo "$PREFIXDIR/bin/soffice" >>$DESTD # create bash completion mkdir -p $DESTDIR/usr/share/bash-completion/completions -"${SRCDIR?}"/bin/generate-bash-completion bin/bash-completion.in $DESTDIR/usr/share/bash-completion/completions/$INSTALLDIRNAME.sh +"${SRCDIR?}"/bin/generate-bash-completion.py bin/bash-completion.in $DESTDIR/usr/share/bash-completion/completions/$INSTALLDIRNAME.sh test -f $DESTDIR/gid_Module_Root_Brand && echo "/usr/share/bash-completion/completions/$INSTALLDIRNAME.sh" >>$DESTDIR/gid_Module_Root_Brand if test "$WITH_COMPAT_OOWRAPPERS" = "TRUE" ; then - "${SRCDIR?}"/bin/generate-bash-completion --compat-oowrappers bin/bash-completion.in $DESTDIR/usr/share/bash-completion/completions/ooffice.sh + "${SRCDIR?}"/bin/generate-bash-completion.py --compat-oowrappers bin/bash-completion.in $DESTDIR/usr/share/bash-completion/completions/ooffice.sh test -f $DESTDIR/gid_Module_Root_Brand && echo "/usr/share/bash-completion/completions/ooffice.sh" >>$DESTDIR/gid_Module_Root_Brand fi |