summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/bashrun2/bashrun2.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/bashrun2/bashrun2.SlackBuild b/desktop/bashrun2/bashrun2.SlackBuild
index 707e322030..fb73749cee 100644
--- a/desktop/bashrun2/bashrun2.SlackBuild
+++ b/desktop/bashrun2/bashrun2.SlackBuild
@@ -92,7 +92,10 @@ make install-strip DESTDIR=$PKG
mv $PKG/etc/xdg/bashrun2/bashrun2.rc $PKG/etc/xdg/bashrun2/bashrun2.rc.new
mv $PKG/etc/xdg/bashrun2/plugins/terminal.rc $PKG/etc/xdg/bashrun2/plugins/terminal.rc.new
-mv $PKG/etc/bash_completion.d/bashrun2 $PKG/etc/bash_completion.d/bashrun2.new
+
+mkdir -p $PKG/usr/share/bash-completion/completions
+mv $PKG/etc/bash_completion.d/bashrun2 $PKG/usr/share/bash-completion/completions/bashrun2
+rm -rf $PKG/etc/bash_completion.d
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true