1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00
gophernicus/debian/prerm
2016-11-13 12:54:53 +02:00

13 lines
221 B
Bash

#!/bin/sh
if [ -f "/etc/inetd.conf" ]; 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#