aboutsummaryrefslogtreecommitdiff
path: root/games/nethack32/pkg-plist
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
commit0416031c9ba13da33845bc762078065b482dd551 (patch)
treebe4d2554a35fe96c98b1eaa2d243964ae3c4f602 /games/nethack32/pkg-plist
parent93189653b53dbb03ea40ad1126155b1ef52bb27c (diff)
downloadports-0416031c9ba13da33845bc762078065b482dd551.tar.gz
ports-0416031c9ba13da33845bc762078065b482dd551.zip
Notes
Diffstat (limited to 'games/nethack32/pkg-plist')
-rw-r--r--games/nethack32/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/nethack32/pkg-plist b/games/nethack32/pkg-plist
index cdde3c3a69f8..15025aac704f 100644
--- a/games/nethack32/pkg-plist
+++ b/games/nethack32/pkg-plist
@@ -5,7 +5,7 @@ bin/%%HACKNAME%%
@exec chmod -R 775 %D/%%DATADIR%%
@exec chmod 2755 %D/%%DATADIR%%/%%HACKNAME%%
@exec chown games:games %D/%%DATADIR%%/save
-@unexec rmdir %D/%%DATADIR%%/save 2>/dev/null || true
+@dirrmtry %%DATADIR%%/save
%%PORTDOCS%%%%DOCSDIR%%/Guidebook.txt
%%DATADIR%%/pet_mark.xbm
%%DATADIR%%/rip.xpm
@@ -125,5 +125,5 @@ bin/%%HACKNAME%%
@exec touch %D/%%DATADIR%%/logfile && chmod 664 %D/%%DATADIR%%/logfile
@unexec [ -s %D/%%DATADIR%%/record ] || rm -f %D/%%DATADIR%%/record
@exec touch %D/%%DATADIR%%/record && chmod 664 %D/%%DATADIR%%/record
-@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
+@dirrmtry %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%