33 lines
1.3 KiB
Bash
Executable File
33 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
# Automatically added by dh_installinit/13.6ubuntu1
|
|
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
|
|
update-rc.d apport remove >/dev/null
|
|
fi
|
|
# End automatically added section
|
|
# Automatically added by dh_installdeb/13.6ubuntu1
|
|
dpkg-maintscript-helper rm_conffile /etc/init/apport.conf 2.20.6-0ubuntu5~ -- "$@"
|
|
# End automatically added section
|
|
# Automatically added by dh_installdeb/13.6ubuntu1
|
|
dpkg-maintscript-helper rm_conffile /etc/apport/native-origins.d/lts-q-backports 2.5.1-0ubuntu8~ -- "$@"
|
|
# End automatically added section
|
|
# Automatically added by dh_systemd_start/13.6ubuntu1
|
|
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
fi
|
|
# End automatically added section
|
|
# Automatically added by dh_systemd_enable/13.6ubuntu1
|
|
if [ "$1" = "remove" ]; then
|
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
|
deb-systemd-helper mask 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true
|
|
fi
|
|
fi
|
|
|
|
if [ "$1" = "purge" ]; then
|
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
|
deb-systemd-helper purge 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true
|
|
deb-systemd-helper unmask 'apport-autoreport.path' 'apport-autoreport.timer' 'apport-forward.socket' >/dev/null || true
|
|
fi
|
|
fi
|
|
# End automatically added section
|