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/halflifeserver | |
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/halflifeserver')
-rw-r--r-- | games/halflifeserver/pkg-plist | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/halflifeserver/pkg-plist b/games/halflifeserver/pkg-plist index c019c1ffff27..8475f4077f3b 100644 --- a/games/halflifeserver/pkg-plist +++ b/games/halflifeserver/pkg-plist @@ -1856,10 +1856,10 @@ @dirrm %%HLDSDIR%%dmc/events @dirrm %%HLDSDIR%%dmc/dlls @dirrm %%HLDSDIR%%dmc/cl_dlls -@unexec rmdir %D/%%HLDSDIR%%valve 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%reslists 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%tfc 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%ricochet 2>/dev/null || true -@unexec rmdir %D/%%HLDSDIR%%dmc 2>/dev/null || true +@dirrmtry %%HLDSDIR%%valve +@dirrmtry %%HLDSDIR%%reslists +@dirrmtry %%HLDSDIR%%tfc +@dirrmtry %%HLDSDIR%%ricochet +@dirrmtry %%HLDSDIR%%dmc @unexec rmdir %D/%%HLDSDIR%% 2>/dev/null || echo "If you are permanently removing this port and its mods, you should do a ``rm -rf ${PKG_PREFIX}/%%HLDSDIR%%`` to remove any configuration files and logs left." | fmt -@unexec rmdir %D/%%HLDSBASE%% 2>/dev/null || true +@dirrmtry %%HLDSBASE%% |