aboutsummaryrefslogtreecommitdiff
path: root/system/pytrash
diff options
context:
space:
mode:
Diffstat (limited to 'system/pytrash')
-rw-r--r--system/pytrash/pytrash.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/pytrash/pytrash.SlackBuild b/system/pytrash/pytrash.SlackBuild
index 67f009f82eb9..504ff70415b6 100644
--- a/system/pytrash/pytrash.SlackBuild
+++ b/system/pytrash/pytrash.SlackBuild
@@ -84,7 +84,11 @@ mkdir -p $PKG/usr/bin
install --mode=755 src/$PRGNAM $PKG/usr/bin
cp -R etc $PKG
-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; \