postinst is in printer-driver-gutenprint 5.2.11-1.
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 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
if dpkg --compare-versions "$2" lt "5.2.10-3~" && [ -r /var/cache/cups/ppd-updates ]; then
# Drop earlier traces of gutenprint PPD updates
sed -e '/ gutenprint$/d' -i /var/cache/cups/ppd-updates
fi
fi
|