aboutsummaryrefslogtreecommitdiff
path: root/games/hlserver-si/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/hlserver-si/pkg-plist
parent93189653b53dbb03ea40ad1126155b1ef52bb27c (diff)
downloadports-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/hlserver-si/pkg-plist')
-rw-r--r--games/hlserver-si/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hlserver-si/pkg-plist b/games/hlserver-si/pkg-plist
index 9f06714b75cc..d7a4ab0d284c 100644
--- a/games/hlserver-si/pkg-plist
+++ b/games/hlserver-si/pkg-plist
@@ -869,6 +869,6 @@
@dirrm %%HLDSDIR%%si/events
@dirrm %%HLDSDIR%%si/dlls
@dirrm %%HLDSDIR%%si/cl_dlls
-@unexec rmdir %D/%%HLDSDIR%%si/SAVE 2>/dev/null || true
-@unexec rmdir %D/%%HLDSDIR%%si/logs 2>/dev/null || true
+@dirrmtry %%HLDSDIR%%si/SAVE
+@dirrmtry %%HLDSDIR%%si/logs
@unexec rmdir %D/%%HLDSDIR%%si 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%si`` to remove any configuration files and logs left." | fmt