diff options
Diffstat (limited to 'debian/fingerd.postrm')
-rw-r--r-- | debian/fingerd.postrm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/fingerd.postrm b/debian/fingerd.postrm new file mode 100644 index 0000000..7a86064 --- /dev/null +++ b/debian/fingerd.postrm @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +case "$1" in +abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear) + ;; +purge) + # If netbase is not installed, then we don't need to do the remove. + #if command -v update-inetd >/dev/null 2>&1; then + if [ -x /usr/sbin/update-inetd ]; then + update-inetd --remove "finger .* /usr/sbin/in\.fingerd" + fi + ;; +*) + echo "$0: incorrect arguments: $*" >&2 + exit 1 + ;; +esac + +#DEBHELPER# |