summaryrefslogtreecommitdiff
path: root/games/linux-quake4/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/linux-quake4/pkg-plist
parent(forced commit) (diff)
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154113
Diffstat (limited to 'games/linux-quake4/pkg-plist')
-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