config is in cups 1.7.2-0ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/bin/sh
set -e
# Debconf library
. /usr/share/debconf/confmodule
db_get cupsys/raw-print
OLD_RET=$RET
db_input low cupsys/raw-print || true
db_go
db_get cupsys/raw-print
if [ "$OLD_RET" != "$RET" ]; then
db_fset cupsys/raw-print changed true
fi
# remove parallel from PPC default
ARCH=`dpkg --print-architecture`
if [ "$ARCH" = "ppc" -o "$ARCH" = "ppc-none" ]; then
db_fget cupsys/backend seen
if [ "$RET" = "false" ]; then
db_set cupsys/backend "lpd, socket, usb"
fi
fi
db_input low cupsys/backend || true
db_go
|