postrm is in libglib2.0-0 2.32.1-0ubuntu2.
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 25 26 | #! /bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
if [ -d /usr/lib/x86_64-linux-gnu/gio/modules ]; then
# Purge the cache
rm -f /usr/lib/x86_64-linux-gnu/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/x86_64-linux-gnu/gio/modules
fi
if [ -d /usr/lib/gio/modules ]; then
# Purge the cache
rm -f /usr/lib/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/gio/modules
fi
if [ "$1" = purge ] && [ -d /usr/share/glib-2.0/schemas ]; then
# Purge the compiled schemas
rm -f /usr/share/glib-2.0/schemas/gschemas.compiled
rmdir -p --ignore-fail-on-non-empty /usr/share/glib-2.0/schemas
fi
|