aboutsummaryrefslogtreecommitdiffstats
path: root/games/nethack34
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 10:20:05 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 10:20:05 +0800
commitffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch)
tree70253ae4904e6777d975133ac5d163530a80b02a /games/nethack34
parente8320e01ab60ecf311418120fb31f132f2adf4e9 (diff)
downloadfreebsd-ports-graphics-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.gz
freebsd-ports-graphics-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.zst
freebsd-ports-graphics-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'games/nethack34')
-rw-r--r--games/nethack34/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/nethack34/pkg-plist b/games/nethack34/pkg-plist
index 442117563bf..7a484f4e7dd 100644
--- a/games/nethack34/pkg-plist
+++ b/games/nethack34/pkg-plist
@@ -5,7 +5,7 @@ bin/%%HACKNAME%%
@exec chmod -R 775 %D/%%HACKDIR%%
@exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%%
@exec chown games:games %D/%%HACKDIR%%/save
-@unexec rmdir %D/%%HACKDIR%%/save 2>/dev/null || true
+@dirrmtry %%HACKDIR%%/save
%%HACKDIR%%/Arc-fila.lev
%%HACKDIR%%/Arc-filb.lev
%%HACKDIR%%/Arc-goal.lev