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