summaryrefslogtreecommitdiffstats
path: root/system/spman/spman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/spman/spman.SlackBuild')
-rw-r--r--system/spman/spman.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/system/spman/spman.SlackBuild b/system/spman/spman.SlackBuild
index c65c0e6267..eeeed1bef8 100644
--- a/system/spman/spman.SlackBuild
+++ b/system/spman/spman.SlackBuild
@@ -30,7 +30,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=spman
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -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; \