postrm is in minicom 2.7-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 20 | #!/bin/sh
set -e
if [ -x /usr/bin/update-menus ]; then
	update-menus
fi
if [ "$1" = purge ]; then
	if [ -e /usr/share/debconf/confmodule ]; then
		. /usr/share/debconf/confmodule
		db_purge
	fi
	rm -f /etc/minicom.users* /etc/minicom/minirc.*
	if ! rmdir /etc/minicom 2> /dev/null; then
		echo "Cannot remove /etc/minicom, please do it manually."
	fi
fi
exit 0
 |