aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-quake4
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/linux-quake4
parente8320e01ab60ecf311418120fb31f132f2adf4e9 (diff)
downloadfreebsd-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/linux-quake4')
-rw-r--r--games/linux-quake4/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/linux-quake4/pkg-plist b/games/linux-quake4/pkg-plist
index 6d5676f87209..1468116d1ef9 100644
--- a/games/linux-quake4/pkg-plist
+++ b/games/linux-quake4/pkg-plist
@@ -375,7 +375,7 @@ bin/quake4
%%PORTDOCS%%%%DOCSDIR%%/README
@dirrm %%Q4DIR%%pb/htm
@dirrm %%Q4DIR%%pb
-@unexec rmdir %D/%%Q4DIR%%q4base 2>/dev/null || true
+@dirrmtry %%Q4DIR%%q4base
@unexec rmdir %D/%%Q4DIR%% 2>/dev/null || echo "Note: %D/%%Q4DIR%% not empty -- not deleted!"
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ENG/htm
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ENG/images