postrm is in libc6-x32 2.23-0ubuntu3.
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 19 20 21 | #! /bin/sh
set -e
if [ "$1" = remove ]; then
# Native multiarch packages declare a Replaces: on the corresponding
# biarch package. Therefore if both a biarch package and the corresponding
# multiarch package are installed, then the multiarch package is removed,
# and then the biarch package is removed, the dynamic linker symlink
# becomes a dangling symlink. Remove it in that case.
if [ -h /libx32/ld-linux-x32.so.2 ] && [ ! -f /libx32/ld-linux-x32.so.2 ]; then
rm /libx32/ld-linux-x32.so.2
fi
fi
if [ "$1" = deconfigure ]; then
:; # blah, do something useful with ldso
fi
exit 0
|