From 9696842a61b6608f10633a984732a145c4fe5c68 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Fri, 8 Feb 2019 05:14:29 +0000 Subject: add debian/ folder --- debian/fingerd.postrm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/fingerd.postrm (limited to 'debian/fingerd.postrm') 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# -- cgit v1.2.3