postinst is in gcc-multilib 4: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 17 | #! /bin/sh
set -e
case "$1" in
configure)
if [ -n "$2" ] && dpkg --compare-versions "$2" lt 4:4.6.1-3~; then
if [ ! -h /usr/include/asm ] && [ -d /usr/include/asm ]; then
rm -rf /usr/include/asm
ln -sf $(gcc --print-multiarch)/asm /usr/include/asm
fi
fi
esac
exit 0
|