diff options
Diffstat (limited to '')
-rw-r--r-- | debian/nyancat-server.postrm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/nyancat-server.postrm b/debian/nyancat-server.postrm index 3f8b5d4..9b2af53 100644 --- a/debian/nyancat-server.postrm +++ b/debian/nyancat-server.postrm @@ -9,7 +9,9 @@ case "$1" in fi ;; remove) - update-inetd --disable nyancat + if [ -x /usr/sbin/update-inetd ]; then + update-inetd --disable nyancat + fi ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; |