Sophie

Sophie

distrib > Mageia > 8 > i586 > media > core-release > by-pkgid > 59a76ac476e2d6b0f4bf41ccb6b2e949 > scriptlet

rkhunter-1.4.6-3.mga8.noarch.rpm

POSTIN

/bin/sh
if [ $1 = 1 ]; then
    # create rkhunter.dat
    /usr/sbin/rkhunter --propupd
    # gather user / group info
    /usr/sbin/rkhunter --enable group_changes,passwd_changes
    # Suppress warning on fresh install because of missing copies of passwd 
    # and groups file above
    /bin/true
fi

#unfortunately, multiple ALLOW* and SCRIPT* keys forbids use of ccp
#until it supports the feature...
##fix previous broken < 1.2.8 installs.
#ccp --delete --ifexists --set NoOrphans \
# --ignoreopt TMPDIR --ignoreopt DBDIR \
# --oldfile /etc/rkhunter.conf \
# --newfile /etc/rkhunter.conf.rpmnew