freebsd-ports/games/kobodeluxe/files/pkg-deinstall.in
Dmitry Marakasov 2e8dd386b2 - Support staging
- Improve highscore dir handling
- Remove DESKTOP_ENTRIES, game installs its own
- Use new OPTIONS features
- Convert USE_BZIP2 to USES
2014-05-12 01:28:50 +00:00

18 lines
394 B
Bash

#!/bin/sh
#
# $FreeBSD$
[ "$2" != "POST-DEINSTALL" ] && exit 0
rmdir "%%SCOREDIR%%/kobo-deluxe/scores" 2>/dev/null
rmdir "%%SCOREDIR%%/kobo-deluxe" 2>/dev/null
rmdir "%%SCOREDIR%%" 2>/dev/null
if [ -e "%%SCOREDIR%%" ]; then
echo
echo "To completely remove the port, please remove the following"
echo "directory manually, if it's no longer needed:"
echo
echo " %%SCOREDIR%%"
echo
fi