postrm is in gconf2-common 3.2.6-3ubuntu6.
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 | #!/bin/sh
set -e
if [ "$1" = "purge" ];then
if [ -x /usr/bin/ucf ]; then
ucf --purge /etc/gconf/2/path
fi
if [ -d /etc/gconf/2 ]; then
rm -f /etc/gconf/2/path
rmdir -p --ignore-fail-on-non-empty /etc/gconf/2
fi
rm -rf /var/lib/gconf
rm -rf /etc/gconf/gconf.xml.mandatory
rm -rf /etc/gconf/gconf.xml.defaults
fi
|