mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/lynis: Install bash-completion file to systemwide dir
This commit is contained in:
parent
7b6863085d
commit
170309e641
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue