postinst is in gimp-help-en 2.6.1-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 12 | #!/bin/sh -e
# if /usr/share/doc/gimp-help-en is a directory, it's probably from an older
# package, so remove it and make the symlink
if [ ! -L /usr/share/doc/gimp-help-en -a -d /usr/share/doc/gimp-help-en ];
then
rmdir /usr/share/doc/gimp-help-en
fi
if [ ! -e /usr/share/doc/gimp-help-en ]; then
ln -s gimp-help-common /usr/share/doc/gimp-help-en
fi
|