Browse Source

desktop/bashrun2: Use systemwide dir for bash completion files

pull/182/head
Robby Workman 4 years ago
parent
commit
22b30f71db
  1. 5
      desktop/bashrun2/bashrun2.SlackBuild

5
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

Loading…
Cancel
Save