summaryrefslogtreecommitdiff
path: root/japanese/nethack34/pkg-plist
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-02-09 03:19:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-02-09 03:19:32 +0000
commit076e6f780e71b7b9d8490d438f6bb00094e7fbdc (patch)
tree29be0ed71cddf1ca3bfce56194c3df7bf92939d9 /japanese/nethack34/pkg-plist
parentBROKEN: Checksum mismatch (diff)
Update to JNetHack-3.4.3-0.1.
Diffstat (limited to 'japanese/nethack34/pkg-plist')
-rw-r--r--japanese/nethack34/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/nethack34/pkg-plist b/japanese/nethack34/pkg-plist
index 6f4738885391..351ca70cb277 100644
--- a/japanese/nethack34/pkg-plist
+++ b/japanese/nethack34/pkg-plist
@@ -2,9 +2,9 @@ bin/%%HACKNAME%%
%%HACKDIR%%/%%HACKNAME%%
@exec mkdir %D/%%HACKDIR%%/save
@exec chmod -R 775 %D/%%HACKDIR%%
-@exec chmod 2755 %D/%%HACKDIR%%/nethack
+@exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%%
@exec chown games:games %D/%%HACKDIR%%/save
-@unexec rm -rf %D/%%HACKDIR%%/save
+@unexec rmdir %D/%%HACKDIR%%/save 2>/dev/null || true
%%HACKDIR%%/Arc-fila.lev
%%HACKDIR%%/Arc-filb.lev
%%HACKDIR%%/Arc-goal.lev