postinst is in ia32-libs 20090808ubuntu35.
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 | #!/bin/sh
set -e
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl 20090808ubuntu27
then
# Clean up after the historic package.
LDCONFIG_NOTRIGGER=y ldconfig
# Purge the gdk-pixbuf cache
if [ -e /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache ]; then
rm -f /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib32/gdk-pixbuf-2.0/2.10.0
fi
if [ "$DPKG_MAINTSCRIPT_ARCH" = ia64 ]; then
dpkg-divert --divert /usr/bin/ldd.ia32-libs --quiet --rename --package ia32-libs --remove /usr/bin/ldd
fi
fi
|