aboutsummaryrefslogtreecommitdiffstats
path: root/games/rtcw
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/rtcw
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/rtcw')
-rw-r--r--games/rtcw/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/rtcw/pkg-plist b/games/rtcw/pkg-plist
index a1fb9bf09a4f..971561d9b864 100644
--- a/games/rtcw/pkg-plist
+++ b/games/rtcw/pkg-plist
@@ -222,9 +222,9 @@ share/pixmaps/WolfSP.xpm
@dirrm %%DATADIR%%/pb/htm
@dirrm %%DATADIR%%/pb
@dirrm %%DATADIR%%/main/scripts
-@unexec rmdir %D/%%DATADIR%%/main 2>/dev/null || true
+@dirrmtry %%DATADIR%%/main
@unexec rmdir %D/%%DATADIR%% >/dev/null 2>&1 || echo "If you are permanently removing this port, you should remove any configuration files, data files, and mods left in %D/%%DATADIR%%." | fmt
-@unexec rmdir %D/share/pixmaps 2>/dev/null || true
+@dirrmtry share/pixmaps
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Docs/PunkBuster/players
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Docs/PunkBuster/admins
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Docs/PunkBuster