preinst is in system-config-printer-gnome 1.3.8+20120201-0ubuntu8.
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 | #!/bin/sh -e
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" lt-nl "1.1.2+git20090125-0ubuntu2"; then
if [ -e /etc/xdg/autostart/redhat-print-applet.desktop ]; then
rm /etc/xdg/autostart/redhat-print-applet.desktop
fi
fi
esac
|