1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00
gophernicus/debian/postrm

16 lines
348 B
Plaintext
Raw Normal View History

2014-01-25 04:21:40 -05:00
#!/bin/sh
if [ "$1" = "purge" -a -x "/usr/sbin/update-inetd" ]; then
/usr/sbin/update-inetd --remove "#<off># gopher"
2014-01-25 04:21:40 -05:00
fi
if [ -d "/run/systemd/system" ]; then
systemctl --system daemon-reload >/dev/null || true
fi
2014-01-25 04:21:40 -05:00
if [ -x "/usr/bin/deb-systemd-helper" ]; then
/usr/bin/deb-systemd-helper disable gophernicus.socket >/dev/null
fi
#DEBHELPER#