preinst is in cups 1.5.3-0ubuntu8.7.
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 | #! /bin/sh
set -e
dpkg-maintscript-helper rm_conffile /etc/modprobe.d/blacklist-cups-usblp.conf 1.5.3-0ubuntu1 -- "$@"
# On Ubuntu, replace the obsolete init script (replaced by an upstart job)
if [ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ] && [ ! -L /etc/init.d/cups ]; then
dpkg-maintscript-helper rm_conffile /etc/init.d/cups 1.4.4-5 -- "$@"
update-rc.d cups remove
fi
exit 0
|