aboutsummaryrefslogtreecommitdiff
path: root/system/spman
diff options
context:
space:
mode:
Diffstat (limited to 'system/spman')
-rw-r--r--system/spman/spman.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/spman/spman.SlackBuild b/system/spman/spman.SlackBuild
index c65c0e62678cc..6d5b58cc2f528 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; \