1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#! /bin/sh
set -e
case "$1" in
remove) ;;
purge)
rm -f /var/lib/ucf/hashfile
rm -f /var/lib/ucf/hashfile.*
rm -f /var/lib/ucf/registry
rm -f /var/lib/ucf/registry.*
if [ -d /var/lib/ucf/cache ]; then
find /var/lib/ucf/cache -type f -print0 | xargs -0r /bin/rm -f
rmdir /var/lib/ucf/cache 1>&2 || true
fi
if [ -e /usr/share/debconf/confmodule ]; then
# Purge this package's data from the debconf database.
. /usr/share/debconf/confmodule
db_purge
fi
;;
disappear) ;;
upgrade) ;;
failed-upgrade) ;;
abort-install) ;;
abort-upgrade) ;;
*) echo "$0: didn't understand being called with \`$1'" 1>&2
exit 0;;
esac
#DEBHELPER#
exit 0
|