preinst is in libgimp2.0-dev 2.6.12-1ubuntu1.4.
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 | #!/bin/sh -e
ver=2.0
prio=50
if [ "$1" = "install" ] || [ "$1" = "upgrade" ]; then
update-alternatives --remove gimptool /usr/bin/gimptool-2.0
fi
|