summaryrefslogtreecommitdiffstats
path: root/slackpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackpkg.SlackBuild')
-rwxr-xr-xslackpkg.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/slackpkg.SlackBuild b/slackpkg.SlackBuild
index f4f7553..443e96b 100755
--- a/slackpkg.SlackBuild
+++ b/slackpkg.SlackBuild
@@ -100,6 +100,10 @@ chown -R root:root $PKG/usr/man
# Compress manual pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
+# Install bash-completion file
+mkdir -p $PKG/usr/share/bash-completion/completions
+cat $CWD/shell-completion/slackpkg.bash > $PKG/usr/share/bash-completion/completions/slackpkg
+
# Update version number:
sed -i "s/@VERSION@/$VERSION/g" $PKG/usr/sbin/slackpkg