From 911063fce40b1c6201528734de4defc11531fc09 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 31 May 2021 20:26:57 -0500 Subject: Import bash-completion file from upstream project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Igor Murzov for the initial contribution of this file to the upstream bash-completion project, and thanks to Ville Skyttä and Koichi Murase for various changes and fixes since then. Co-authored-by: Igor Murzov Co-authored-by: Ville Skyttä Co-authored-by: Koichi Murase --- slackpkg.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'slackpkg.SlackBuild') 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 -- cgit v1.2.3