diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
commit | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch) | |
tree | 70253ae4904e6777d975133ac5d163530a80b02a /games/hlserver-existence | |
parent | e8320e01ab60ecf311418120fb31f132f2adf4e9 (diff) | |
download | freebsd-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-existence')
-rw-r--r-- | games/hlserver-existence/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hlserver-existence/pkg-plist b/games/hlserver-existence/pkg-plist index de8e2f938126..7c57fd999d39 100644 --- a/games/hlserver-existence/pkg-plist +++ b/games/hlserver-existence/pkg-plist @@ -625,7 +625,7 @@ @dirrm %%HLDSDIR%%existence/sound/radio/accent_agent @dirrm %%HLDSDIR%%existence/sound/radio @dirrm %%HLDSDIR%%existence/sound/player -@unexec rmdir %D/%%HLDSDIR%%existence/sound/plats 2>/dev/null || true +@dirrmtry %%HLDSDIR%%existence/sound/plats @dirrm %%HLDSDIR%%existence/sound/oldman @dirrm %%HLDSDIR%%existence/sound/misc @dirrm %%HLDSDIR%%existence/sound/items @@ -660,5 +660,5 @@ @dirrm %%HLDSDIR%%existence/events @dirrm %%HLDSDIR%%existence/dlls @dirrm %%HLDSDIR%%existence/cl_dlls -@unexec rmdir %D/%%HLDSDIR%%existence/SAVE 2>/dev/null || true +@dirrmtry %%HLDSDIR%%existence/SAVE @unexec rmdir %D/%%HLDSDIR%%existence 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%existence`` to remove any configuration files and logs left." | fmt |