PREUN
/bin/sh
if [ "$1" = 0 ]; then
# Remove update-alternatives entries
update-alternatives --remove lpr /usr/bin/lpr-wrapper
update-alternatives --remove lp /usr/bin/lpr-wrapper
fi
POSTIN
/bin/sh
# Set up update-alternatives entries
update-alternatives --install /usr/bin/lpr lpr /usr/bin/lpr-wrapper 25 --slave /usr/share/man/man1/lpr.1.bz2 lpr.1.bz2 /usr/share/man/man1/lpr-cups.1.bz2
update-alternatives --install /usr/bin/lp lp /usr/bin/lpr-wrapper 25 --slave /usr/share/man/man1/lp.1.bz2 lp.1.bz2 /usr/share/man/man1/lp-cups.1.bz2