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-flf | |
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-flf')
-rw-r--r-- | games/hlserver-flf/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hlserver-flf/pkg-plist b/games/hlserver-flf/pkg-plist index 72d352484222..9883c1b302fc 100644 --- a/games/hlserver-flf/pkg-plist +++ b/games/hlserver-flf/pkg-plist @@ -655,6 +655,6 @@ @dirrm %%HLDSDIR%%/frontline/events @dirrm %%HLDSDIR%%/frontline/dlls @dirrm %%HLDSDIR%%/frontline/cl_dlls -@unexec rmdir %D/%%HLDSDIR%%frontline/SAVE 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%frontline/logs 2>/dev/null || true +@dirrmtry %%HLDSDIR%%frontline/SAVE +@dirrmtry %%HLDSDIR%%frontline/logs @unexec rmdir %D/%%HLDSDIR%%frontline 2>/dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%frontline`` to remove any configuration files and logs left." | fmt |