postrm is in system-image-common 2.2-0ubuntu1.
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
# On purge, remove the log file and directory, as well as the lib directory
# and configuration file.
case "$1" in
purge)
rm -rf /var/log/system-image
rm -rf /var/lib/system-image
rm -rf /etc/system-image
;;
*)
;;
esac
exit 0
|