diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
commit | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch) | |
tree | 70253ae4904e6777d975133ac5d163530a80b02a /games/nethack32 | |
parent | e8320e01ab60ecf311418120fb31f132f2adf4e9 (diff) | |
download | freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.gz freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.zst freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'games/nethack32')
-rw-r--r-- | games/nethack32/pkg-plist | 4 |
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%% |