diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 03:44:41 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:20:55 -0500 |
commit | acd695459de33dc38c7b2bbc2d2bed503df57816 (patch) | |
tree | a3e396a1c8f3c6823ba9d33994a2088c763f59b5 /system | |
parent | 98c7fdc7b7069b356b17780542a4b659586a145b (diff) | |
download | slackbuilds-acd695459de33dc38c7b2bbc2d2bed503df57816.tar.gz |
system/pytrash: Install bash-completion file to systemwide dir
Diffstat (limited to 'system')
-rw-r--r-- | system/pytrash/pytrash.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/pytrash/pytrash.SlackBuild b/system/pytrash/pytrash.SlackBuild index 67f009f82e..504ff70415 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; \ |