postinst is in libgsm0710-dev 1.2.2-2ubuntu1.
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 13 14 15 16 17 18 | #!/bin/sh
set -e
# Replace documentation directory with symlink
docdir="/usr/share/doc/libgsm0710-dev"
if [ -d $docdir ] && [ ! -L $docdir ]; then
if rmdir $docdir 2>/dev/null; then
ln -sf libgsm0710-0 $docdir
fi
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
exit 0
|