summaryrefslogtreecommitdiffstats
path: root/slackpkg.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2021-05-31 20:26:57 -0500
committerRobby Workman <rworkman@slackware.com>2021-06-04 22:24:49 -0500
commit911063fce40b1c6201528734de4defc11531fc09 (patch)
tree13263b3c54e7cacd40546ceac55d229f4a7a93de /slackpkg.SlackBuild
parentab871495224069440a9645899b500f279195250f (diff)
downloadslackpkg-911063fce40b1c6201528734de4defc11531fc09.tar.xz
Import bash-completion file from upstream project
Thanks to Igor Murzov <igor@gplsoft.org> for the initial contribution of this file to the upstream bash-completion project, and thanks to Ville Skyttä <ville.skytta@iki.fi> and Koichi Murase <myoga.murase@gmail.com> for various changes and fixes since then. Co-authored-by: Igor Murzov <igor@gplsoft.org> Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
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