mirror of
https://github.com/gophernicus/gophernicus.git
synced 2024-10-27 05:20:18 -04:00
16 lines
348 B
Bash
16 lines
348 B
Bash
#!/bin/sh
|
|
|
|
if [ "$1" = "purge" -a -x "/usr/sbin/update-inetd" ]; then
|
|
/usr/sbin/update-inetd --remove "#<off># gopher"
|
|
fi
|
|
|
|
if [ -d "/run/systemd/system" ]; then
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
fi
|
|
|
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
|
/usr/bin/deb-systemd-helper disable gophernicus.socket >/dev/null
|
|
fi
|
|
|
|
#DEBHELPER#
|