postrm is in libc6-i386 2.15-0ubuntu10.18.
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 22 23 24 | #! /bin/sh
set -e
if [ "$1" = remove ]; then
ARCH=${DPKG_MAINTSCRIPT_ARCH:-$(dpkg --print-architecture)}
if [ "${ARCH}" = "amd64" ] && [ "libc6-i386" = "libc6-i386" ]; then
if [ -h /lib/ld-linux.so.2 ] && [ ! -f /lib/ld-linux.so.2 ]; then
rm /lib/ld-linux.so.2
fi
fi
fi
if [ "$1" = deconfigure ]; then
:; # blah, do something useful with ldso
fi
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
exit 0
|