From 667a24046635706bc16a0a3311dd3174605eaca6 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 1 Aug 2021 03:40:38 -0500 Subject: system/spman: Install bash-completion file to systemwide dir --- system/spman/spman.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system') diff --git a/system/spman/spman.SlackBuild b/system/spman/spman.SlackBuild index c65c0e62678c..6d5b58cc2f52 100644 --- a/system/spman/spman.SlackBuild +++ b/system/spman/spman.SlackBuild @@ -88,7 +88,7 @@ find -L . \ mkdir -p $PKG/usr/sbin install --mode=755 src/$PRGNAM $PKG/usr/sbin -# etc/{spman,bash_completion.d} +# etc/spman cp -R etc $PKG ( cd $PKG/etc/$PRGNAM || exit 1 @@ -98,7 +98,11 @@ cp -R etc $PKG mv $CONFIG $CONFIG.new done ) -chmod 755 $PKG/etc/bash_completion.d/$PRGNAM-bash-complition.sh + +mkdir -p $PKG/usr/share/bash-completion/completions +mv $PKG/etc/bash_completion.d/$PRGNAM-bash-complition.sh \ + $PKG/usr/share/bash-completion/completions/$PRGNAM +rm -rf $PKG/etc/bash_completion.d # python libs PY3VER="$(python3 -c 'import sys; ver = sys.version_info; \ -- cgit v1.2.3