ubuntu-22.04.3-desktop-amd64/casper/filesystem/var/lib/dpkg/info/cups-bsd.postrm

31 lines
608 B
Bash
Executable File

#! /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
# Automatically added by dh_installdebconf/13.6ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section