diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-04-18 16:54:37 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-04-18 16:58:01 +0100 |
commit | 1fd6c968e9c9df30c982e864d7b4a5d9d5328361 (patch) | |
tree | d7c38f03da39aae54bcd7e87acd53310899bf58d /debian | |
parent | 5a2c591749873d93e72d6c1e9443516c4115a86b (diff) | |
download | nyancat-1fd6c968e9c9df30c982e864d7b4a5d9d5328361.tar.gz |
postrm: Check first existence of update-inetd first
Diffstat (limited to 'debian')
-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) ;; |