postinst is in libgcc1 1:4.6.3-1ubuntu5.
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/libgcc1
if [ -d $docdir ] && [ ! -h $docdir ]; then
rm -rf $docdir
ln -s gcc-4.6-base $docdir
fi
esac
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
ldconfig
fi
# End automatically added section
|