postrm is in system-image-common 3.1+16.04.20160407-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 19 20 | #!/bin/sh
set -e
# 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
|