From 0416031c9ba13da33845bc762078065b482dd551 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 22 Jan 2006 02:20:05 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- games/hlserver-wasteland/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/hlserver-wasteland') diff --git a/games/hlserver-wasteland/pkg-plist b/games/hlserver-wasteland/pkg-plist index 64941851d908..c46f1882fe4d 100644 --- a/games/hlserver-wasteland/pkg-plist +++ b/games/hlserver-wasteland/pkg-plist @@ -77,6 +77,6 @@ @dirrm %%HLDSDIR%%wasteland/events @dirrm %%HLDSDIR%%wasteland/dlls @dirrm %%HLDSDIR%%wasteland/cl_dlls -@unexec rmdir %D/%%HLDSDIR%%wasteland/SAVE 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%wasteland/logs 2>/dev/null || true +@dirrmtry %%HLDSDIR%%wasteland/SAVE +@dirrmtry %%HLDSDIR%%wasteland/logs @unexec rmdir %D/%%HLDSDIR%%wasteland 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%wasteland`` to remove any configuration files and logs left." | fmt -- cgit v1.2.3