
| 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/spamassassin.prerm |
#!/bin/sh
set -e
# Automatically added by dh_installsystemd/12.10ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'spamassassin.service' >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/12.10ubuntu1
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'spamassassin.service' >/dev/null || true
fi
# End automatically added section
# In theory sa-update-keys is probably a config file, but I don't
# think it should be and I don't know how to get rid of it and
# /etc/spamassassin without causing dpkg to complain on purge.
if [ "$1" = "remove" ]; then
invoke-rc.d --quiet spamassassin stop || true
rm -Rf /var/lib/spamassassin
rm -Rf /etc/spamassassin/sa-update-keys
fi