%PDF- %PDF-
| Direktori : /var/lib/dpkg/info/ |
| Current File : //var/lib/dpkg/info/whoopsie.postrm |
#! /bin/sh
set -e
# Automatically added by dh_installinit/13.14.1ubuntu5
if [ "$1" = "remove" ] && [ -x "/etc/init.d/whoopsie" ] ; then
chmod -x "/etc/init.d/whoopsie" >/dev/null || true
fi
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
update-rc.d whoopsie remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/default/whoopsie 0.2.47 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/13.14.1ubuntu5
dpkg-maintscript-helper rm_conffile /etc/cron.daily/whoopsie 0.1.25 -- "$@"
# End automatically added section
# Automatically added by dh_systemd_enable/13.14.1ubuntu5
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'whoopsie.path' >/dev/null || true
fi
fi
# End automatically added section
if [ "$1" = "purge" ]; then
deluser --quiet --system whoopsie > /dev/null || true
chmod g-s /var/crash >/dev/null 2>&1
chgrp root /var/crash >/dev/null 2>&1
rm -f /var/lib/whoopsie/whoopsie-id >/dev/null
fi
exit 0