diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:20:05 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:20:05 +0000 |
commit | 0416031c9ba13da33845bc762078065b482dd551 (patch) | |
tree | be4d2554a35fe96c98b1eaa2d243964ae3c4f602 /games/quake3-data | |
parent | 93189653b53dbb03ea40ad1126155b1ef52bb27c (diff) | |
download | ports-0416031c9ba13da33845bc762078065b482dd551.tar.gz ports-0416031c9ba13da33845bc762078065b482dd551.zip |
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/quake3-data')
-rw-r--r-- | games/quake3-data/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/quake3-data/pkg-plist b/games/quake3-data/pkg-plist index 126fe66236ad..641e635ba91b 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 |