mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
system/rkhunter: Use built in TXZ layout
This commit is contained in:
parent
f763b69537
commit
6c9a69ec37
1 changed files with 3 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PRGNAM=rkhunter
|
||||
VERSION=${VERSION:-1.4.4}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -54,15 +54,11 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Set the installer to build in our package directory
|
||||
TGZ_BUILD_ROOT=$PKG \
|
||||
TXZ_BUILD_ROOT=$PKG \
|
||||
./installer.sh \
|
||||
--layout TGZ \
|
||||
--layout TXZ \
|
||||
--install
|
||||
|
||||
# Put docs and manual pages in the correct place
|
||||
mv $PKG/usr/share/* $PKG/usr
|
||||
rmdir $PKG/usr/share
|
||||
|
||||
# Don't clobber existing config file.
|
||||
mv $PKG/etc/rkhunter.conf $PKG/etc/rkhunter.conf.new
|
||||
|
||||
|
|
Loading…
Reference in a new issue