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