postrm is in libgvc6 2.38.0-12ubuntu2.
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
# Remove the configuration file if present, see README.Debian-packaging
# Needed only in libgraphivzN
if [ -f /usr/lib/graphviz/config6 ]; then
rm -f /usr/lib/graphviz/config6
fi
if [ -f /usr/lib/graphviz/config6a ]; then
rm -f /usr/lib/graphviz/config6a
fi
case "$1" in
purge|remove)
ldconfig
;;
esac
|