1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-10-27 05:20:18 -04:00
gophernicus/debian/prerm
2016-11-13 14:51:06 +02:00

13 lines
246 B
Bash

#!/bin/sh
if [ -f /etc/inetd.conf -a -x /usr/sbin/update-inetd ]; then
/usr/sbin/update-inetd --disable gopher
fi
if [ -x /usr/bin/deb-systemd-helper ]; then
/usr/bin/deb-systemd-helper disable gophernicus.socket >/dev/null
fi
#DEBHELPER#