blob: 7738abbc1e92d7d9677081b1d10d0d173892f6b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#! /bin/sh
set -e
case "$1" in
purge)
# Remove inetd entry
if [ -x "`which update-inetd 2>/dev/null`" ]; then
update-inetd --pattern cups-lpd --remove printer 2>/dev/null || true
fi
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 0
esac
#DEBHELPER#
|