pkg://apmd_3.2.2-3_ia64.deb:65018/postrm
info downloads
#!/bin/sh
#
# This is the postrm script for the Debian GNU/Linux apmd package
#
# Written by Dirk Eddelbuettel <edd@debian.org>
set -e
del_link ()
{
for FN in "${@}"; do
if [ -h "${FN}" ]; then
rm -f "${FN}" || true
fi
done
}
case "$1" in
(purge)
del_link /etc/apm/suspend.d/99hwclock /etc/apm/resume.d/00hwclock
;;
esac
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
update-rc.d apmd remove >/dev/null || exit 0
fi
# End automatically added section
exit 0