system/rkhunter: Use built in TXZ layout

This commit is contained in:
Gerardo Zamudio 2017-07-18 08:52:55 -05:00
parent f763b69537
commit 6c9a69ec37

View file

@ -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