postrm is in nas 1.9.3-4.
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 -e
case "$1" in
	remove|purge)
		# Remove links from rc?.d
		update-rc.d -f nas remove >/dev/null
		if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
		# Source debconf library.
			. /usr/share/debconf/confmodule
			# Remove my changes to the db.
			db_purge
		fi
		;;
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
esac
 |