
| Current Path : /var/lib/dpkg/info/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/lib/dpkg/info/asterisk.postrm |
#! /bin/sh
set -e
if [ "$1" = purge ]; then
userdel -r asterisk 2>/dev/null || true
rm -fR /var/log/asterisk
fi
# Automatically added by dh_installinit/12.9ubuntu1
if [ "$1" = "purge" ] ; then
update-rc.d asterisk remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_systemd_enable/12.9ubuntu1
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask 'asterisk.service' >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'asterisk.service' >/dev/null || true
deb-systemd-helper unmask 'asterisk.service' >/dev/null || true
fi
fi
# End automatically added section