development/tig: Use systemwide dir for bash completion files

This commit is contained in:
Robby Workman 2021-08-01 04:14:30 -05:00
parent a392e42607
commit 443567c3bb

View file

@ -98,8 +98,8 @@ make install-doc install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/bash_completion.d
cat contrib/tig-completion.bash > $PKG/etc/bash_completion.d/tig
mkdir -p $PKG/usr/share/bash-completion/completions
cat contrib/tig-completion.bash > $PKG/usr/share/bash-completion/completions/tig
mv $PKG/etc/tigrc $PKG/etc/tigrc.new