aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-04-18 16:54:37 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-04-18 16:58:01 +0100
commit1fd6c968e9c9df30c982e864d7b4a5d9d5328361 (patch)
treed7c38f03da39aae54bcd7e87acd53310899bf58d /debian
parent5a2c591749873d93e72d6c1e9443516c4115a86b (diff)
downloadnyancat-1fd6c968e9c9df30c982e864d7b4a5d9d5328361.tar.gz
postrm: Check first existence of update-inetd first
Diffstat (limited to 'debian')
-rw-r--r--debian/nyancat-server.postrm4
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)
;;