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