network/ddgr: Use systemwide dir for bash-completion file

This commit is contained in:
Robby Workman 2021-08-01 04:07:57 -05:00
parent b9eea4d96c
commit becd4a6531

View file

@ -87,9 +87,9 @@ mkdir -p $PKG/usr/bin
install -D -m0755 $PRGNAM $PKG/usr/bin
# Install bash completion file
mkdir -p $PKG/etc/bash_completion.d
install -D -m0744 auto-completion/bash/${PRGNAM}-completion.bash \
$PKG/etc/bash_completion.d/${PRGNAM}-completion.bash
mkdir -p $PKG/usr/share/bash-completion/completions
install -D -m0644 auto-completion/bash/${PRGNAM}-completion.bash \
$PKG/usr/share/bash-completion/completions/$PRGNAM
# Install zsh completion file
mkdir -p $PKG/usr/share/site-functions