aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3-data
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/quake3-data
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/quake3-data')
-rw-r--r--games/quake3-data/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/quake3-data/pkg-plist b/games/quake3-data/pkg-plist
index 126fe66236a..641e635ba91 100644
--- a/games/quake3-data/pkg-plist
+++ b/games/quake3-data/pkg-plist
@@ -10,7 +10,7 @@
%%TEAMARENA%%%%DATADIR%%/missionpack/pak2.pk3
%%TEAMARENA%%%%DATADIR%%/missionpack/pak3.pk3
share/pixmaps/quake3.xpm
-@unexec rmdir %D/share/pixmaps 2>/dev/null || true
+@dirrmtry share/pixmaps
%%TEAMARENA%%@unexec rmdir %D/%%DATADIR%%/missionpack 2>/dev/null || true
-@unexec rmdir %D/%%DATADIR%%/baseq3 2>/dev/null || true
+@dirrmtry %%DATADIR%%/baseq3
@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