postrm is in moria 5.6.debian.1-2build2.
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 | #!/bin/sh -e
# Shamelessly stolen from Joey Hess' bsdgames-2.12-9
SCOREFILES="
/var/games/moria/scores"
# Remove high score files on purge.
if [ "$1" = "purge" ]; then
rm -f $SCOREFILES
rmdir /var/games/moria /var/games 2>/dev/null || true
fi
# Automatically added by dh_installmenu/11.1.6ubuntu1
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
# End automatically added section
|