Kerala Cyber Warriors
KCW Uploader V1.1

Path : /var/lib/dpkg/info/
File Upload :
Current File : //var/lib/dpkg/info/rkhunter.postrm

#! /bin/sh
# postrm script for rkhunter
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postrm> `remove'
#        * <postrm> `purge'
#        * <old-postrm> `upgrade' <new-version>
#        * <new-postrm> `failed-upgrade' <old-version>
#        * <new-postrm> `abort-install'
#        * <new-postrm> `abort-install' <old-version>
#        * <new-postrm> `abort-upgrade' <old-version>
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
       ;;

       purge)
           for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist;  do
               rm -f /etc/default/rkhunter$ext
           done

           rm -f /etc/default/rkhunter

           if which ucf >/dev/null; then
               ucf --purge /etc/default/rkhunter
           fi
           if which ucfr >/dev/null; then
               ucfr --purge rkhunter /etc/default/rkhunter
           fi

           rm -rf /var/lib/rkhunter/tmp/*
           rm -rf /var/lib/rkhunter/db/*
           #[ -f /etc/rkhunter.conf.local ] && rm -f /etc/rkhunter.conf.local
       ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installdebconf/12.9ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section


exit 0

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ