diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:18:06 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-08-01 04:20:56 -0500 |
commit | 22b30f71db8fdd4cf056fbe1164e30e5b5fde1b3 (patch) | |
tree | b1f435d1fa410c1126f8bb4aa45f1467f97a098c /desktop/bashrun2 | |
parent | 7d7a33b188d072121e736a2a41b5877a94c5b22a (diff) |
desktop/bashrun2: Use systemwide dir for bash completion files
Diffstat (limited to 'desktop/bashrun2')
-rw-r--r-- | desktop/bashrun2/bashrun2.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/bashrun2/bashrun2.SlackBuild b/desktop/bashrun2/bashrun2.SlackBuild index 707e3220302a1..fb73749ceeffb 100644 --- a/desktop/bashrun2/bashrun2.SlackBuild +++ b/desktop/bashrun2/bashrun2.SlackBuild @@ -92,7 +92,10 @@ make install-strip DESTDIR=$PKG mv $PKG/etc/xdg/bashrun2/bashrun2.rc $PKG/etc/xdg/bashrun2/bashrun2.rc.new mv $PKG/etc/xdg/bashrun2/plugins/terminal.rc $PKG/etc/xdg/bashrun2/plugins/terminal.rc.new -mv $PKG/etc/bash_completion.d/bashrun2 $PKG/etc/bash_completion.d/bashrun2.new + +mkdir -p $PKG/usr/share/bash-completion/completions +mv $PKG/etc/bash_completion.d/bashrun2 $PKG/usr/share/bash-completion/completions/bashrun2 +rm -rf $PKG/etc/bash_completion.d find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |