#! /bin/sh
# prerm script for gbatnav
#
# see: dh_installdeb(1)

set -e

case "$1" in
    purge)
        rm -f /var/games/gbatnav.score
        rmdir /var/games || true
        ;;
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 0

esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#
