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