postrm is in gnome-nibbles 1:3.18.2-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 | #! /bin/sh
set -e
if [ "$1" = "purge" ] ; then
for FILE in gnibbles.1.0.scores gnibbles.2.0.scores \
gnibbles.3.0.scores gnibbles.4.0.scores gnibbles.1.1.scores \
gnibbles.2.1.scores gnibbles.3.1.scores gnibbles.4.1.scores; do
rm -f /var/games/$FILE
done
if [ -d /var/games ]; then
rmdir --ignore-fail-on-non-empty /var/games
fi
fi
|