system/lynis: Install bash-completion file to systemwide dir

This commit is contained in:
Robby Workman 2021-08-01 03:49:41 -05:00
parent 7b6863085d
commit 170309e641

View file

@ -79,12 +79,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin $PKG/usr/share/lynis/ $PKG/etc/bash_completion.d
mkdir -p $PKG/usr/bin $PKG/usr/share/lynis/ $PKG/usr/share/bash-completion/completions
mkdir -p $PKG/usr/man/man8/ $PKG/etc/lynis
cp default.prf $PKG/etc/lynis
cp -rf lynis $PKG/usr/bin
cp -rf include plugins db $PKG/usr/share/lynis/
cp extras/bash_completion.d/$PRGNAM $PKG/etc/bash_completion.d/
cp extras/bash_completion.d/$PRGNAM $PKG/usr/share/bash-completion/completions/
install -m644 lynis.8 $PKG/usr/man/man8/lynis.8
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \