postinst is in libgcj14 4.8.4-2ubuntu1~14.04.4.
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 | #! /bin/sh -e
case "$1" in
configure)
docdir=/usr/share/doc/libgcj14
if [ -d $docdir ] && [ ! -h $docdir ]; then
rm -rf /usr/share/doc/libgcj14
ln -s gcj-4.8-base /usr/share/doc/libgcj14
fi
esac
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
|