diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 03:40:38 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:20:55 -0500 |
commit | 667a24046635706bc16a0a3311dd3174605eaca6 (patch) | |
tree | dd477b05382eb26d57908777dfe3189ec3bcfaa8 /system/spman | |
parent | 7522fd9bba9f685fbf9c959e7c4d52a9f4f6be95 (diff) |
system/spman: Install bash-completion file to systemwide dir
Diffstat (limited to 'system/spman')
-rw-r--r-- | system/spman/spman.SlackBuild | 8 |
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; \ |