aboutsummaryrefslogtreecommitdiffstats
path: root/games/hlserver-wizwars
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/hlserver-wizwars
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/hlserver-wizwars')
-rw-r--r--games/hlserver-wizwars/pkg-plist8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/hlserver-wizwars/pkg-plist b/games/hlserver-wizwars/pkg-plist
index 16f3983f6096..9cc880781a66 100644
--- a/games/hlserver-wizwars/pkg-plist
+++ b/games/hlserver-wizwars/pkg-plist
@@ -738,8 +738,8 @@
@dirrm %%HLDSDIR%%wizwars/conclaves
@dirrm %%HLDSDIR%%wizwars/class
@dirrm %%HLDSDIR%%wizwars/cl_dlls
-@unexec rmdir %D/%%HLDSDIR%%wizwars/SAVE 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%wizwars/save 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%wizwars/music 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%wizwars/logs 2>/dev/null || true
+@dirrmtry %%HLDSDIR%%wizwars/SAVE
+@dirrmtry %%HLDSDIR%%wizwars/save
+@dirrmtry %%HLDSDIR%%wizwars/music
+@dirrmtry %%HLDSDIR%%wizwars/logs
@unexec rmdir %D/%%HLDSDIR%%wizwars 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%wizwars`` to remove any configuration files and logs left." | fmt