| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
# postinst script for chkrootkit
set -e
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <postinst> `abort-remove'
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "${1-}" in abort-upgrade|abort-remove|abort-deconfigure)
;;
configure)
old_version="${2-}"
if [ ! -z "$old_version" ] && dpkg --compare-versions "$old_version" le 0.55-2~; then
# bullseye or earlier had settings in a non-conffile
# ($old_config) that was created using debconf (with some
# questionable advice on defaults)
# remove debconf
if [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
# Remove debconf settings
db_purge || true
fi
fi
config=/etc/chkrootkit/chkrootkit.conf
old_config=/etc/chkrootkit.conf
if [ -e "$old_config" ]; then
echo "WARNING: $old_config is deprecated. Please put your settings in $config instead."
fi
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0