postrm is in unity-2d-common 5.12.0-0ubuntu1.1.
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 | #!/bin/sh
set -e
case "$1" in
remove|purge)
if which update-gconf-defaults >/dev/null 2>&1 && [ -d /usr/share/gconf/mandatory/ubuntu-2d ]; then
update-gconf-defaults --source /usr/share/gconf/ubuntu-2d/mandatory \
--destination /var/lib/gconf/ubuntu-2d.mandatory
update-gconf-defaults --source /usr/share/gconf/ubuntu-2d/default \
--destination /var/lib/gconf/ubuntu-2d.default
fi
if [ -d /var/lib/gconf/ubuntu-2d.mandatory ]; then
rm -rf /var/lib/gconf/ubuntu-2d.mandatory
fi
if [ -d /var/lib/gconf/ubuntu-2d.default ]; then
rm -rf /var/lib/gconf/ubuntu-2d.default
fi
;;
esac
|