postrm is in gnome-nibbles 1:3.8.0-2.
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 [ "$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
# Automatically added by dh_icons
if which update-icon-caches >/dev/null 2>&1 ; then
update-icon-caches /usr/share/icons/HighContrast
fi
# End automatically added section
|