Browse Source

system/rkhunter: Use built in TXZ layout

pull/47/head
Gerardo Zamudio 8 years ago
parent
commit
6c9a69ec37
  1. 10
      system/rkhunter/rkhunter.SlackBuild

10
system/rkhunter/rkhunter.SlackBuild

@ -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…
Cancel
Save