From e33f5d0310640d0f72c1314522b7662e579c993c Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 30 Aug 2002 23:28:49 +0000 Subject: Scores file has to be removed manually. --- games/gtkballs/DEINSTALL | 24 ++++++++++++++++++++++++ games/gtkballs/PLIST | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 games/gtkballs/DEINSTALL (limited to 'games/gtkballs') diff --git a/games/gtkballs/DEINSTALL b/games/gtkballs/DEINSTALL new file mode 100644 index 00000000000..cd76cb8583f --- /dev/null +++ b/games/gtkballs/DEINSTALL @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2002/08/30 23:28:49 wiz Exp $ +# + +PKGNAME=$1 + +case $2 in +DEINSTALL) + ;; +POST-DEINSTALL) + cat << EOF +============================================================================= +If you won't be using ${PKGNAME} any longer, you may want to remove the +score file ${PKG_PREFIX}/var/gtkballs-scores. +============================================================================= +EOF + ;; +*) + echo "Unexpected argument: $2" + exit 1 + ;; +esac +exit 0 diff --git a/games/gtkballs/PLIST b/games/gtkballs/PLIST index 0f56acf4d1d..7dc1998ca74 100644 --- a/games/gtkballs/PLIST +++ b/games/gtkballs/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/08/30 23:16:27 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2002/08/30 23:28:50 wiz Exp $ bin/gtkballs man/man6/gtkballs.6 share/gtkballs/COPYING @@ -320,7 +320,7 @@ share/locale/de/LC_MESSAGES/gtkballs.mo share/locale/fr/LC_MESSAGES/gtkballs.mo share/locale/pl/LC_MESSAGES/gtkballs.mo share/locale/ru/LC_MESSAGES/gtkballs.mo -var/gtkballs-scores +@comment user-modified: var/gtkballs-scores @unexec ${RMDIR} %D/var 2>/dev/null || ${TRUE} @dirrm share/gtkballs/themes/klines @dirrm share/gtkballs/themes/Default -- cgit v1.2.3