aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gnats4
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-19 09:17:57 +0800
committeredwin <edwin@FreeBSD.org>2008-04-19 09:17:57 +0800
commit7c58f5b9d7817cbd23c606798b289a3e2f4d3fc9 (patch)
tree17a7dd6e446018f5093018a4d4c04530d9a5fa4a /databases/gnats4
parent9cb91ac3aca487585b0112b2e1ef59c6bdf22e67 (diff)
downloadfreebsd-ports-gnome-7c58f5b9d7817cbd23c606798b289a3e2f4d3fc9.tar.gz
freebsd-ports-gnome-7c58f5b9d7817cbd23c606798b289a3e2f4d3fc9.tar.zst
freebsd-ports-gnome-7c58f5b9d7817cbd23c606798b289a3e2f4d3fc9.zip
Make use of the @rmtry macro
Diffstat (limited to 'databases/gnats4')
-rw-r--r--databases/gnats4/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/gnats4/pkg-plist b/databases/gnats4/pkg-plist
index 95885edd0678..365088c4eb33 100644
--- a/databases/gnats4/pkg-plist
+++ b/databases/gnats4/pkg-plist
@@ -40,7 +40,7 @@ libexec/gnats/pr-edit
@dirrm libexec/gnats
@exec mkdir -p %%GNATSDBDIR%%
@exec chown gnats %%GNATSDBDIR%%
-@unexec rmdir %%GNATSDBDIR%% 2>/dev/null || true
+@dirrmtry %%GNATSDBDIR%%
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
%%PORTDOCS%%@dirrm %%DOCSDIR%%