postrm is in cfingerd 1.4.3-3.1ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #! /bin/sh
set -e
if [ "$1" = "purge" ]
then
rm -f /var/log/cfingerd.log*
if [ -d /var/log/OLD ]
then
rm -f /var/log/OLD/cfingerd.log*
fi
test -d /etc/cfingerd && rm -rf /etc/cfingerd
fi
# This will be executed on removal and purging of the package.
if [ "$1" = "remove" ]; then
update-inetd --remove cfingerd
if grep -s "^[^ *#]" /etc/xinetd.conf | grep -q cfingerd; then
echo "Please remove the cfingerd entry from your /etc/xinetd.conf file"
echo "manually."
fi
fi
|