commit
This commit is contained in:
28
debian/smokeping.postrm.debhelper
vendored
Normal file
28
debian/smokeping.postrm.debhelper
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Automatically added by dh_installdeb/13.24.2
|
||||
dpkg-maintscript-helper mv_conffile /etc/smokeping/apache2.conf /etc/apache2/conf-available/smokeping.conf -- "$@"
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installsystemd/13.24.2
|
||||
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_installsystemd/13.24.2
|
||||
if [ "$1" = "purge" ]; then
|
||||
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
||||
deb-systemd-helper purge 'smokeping.service' >/dev/null || true
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
# Automatically added by dh_apache2/UNDECLARED
|
||||
if [ "$1" = "purge" ] ; then
|
||||
if true; then
|
||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
|
||||
. /usr/share/apache2/apache2-maintscript-helper
|
||||
|
||||
for conf in smokeping ; do
|
||||
apache2_invoke disconf $conf || exit 1
|
||||
done
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
# End automatically added section
|
||||
Reference in New Issue
Block a user