aboutsummaryrefslogtreecommitdiffstats
path: root/databases/firebird2-server
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 09:29:46 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 09:29:46 +0800
commite80f0953d18006170971019cc3936a2de46081ab (patch)
tree2ced76b22a5a33be9fc8a463ef1df3c21eb26234 /databases/firebird2-server
parentf70b9e5e41d04219d385f0493662aacb199e31cc (diff)
downloadfreebsd-ports-graphics-e80f0953d18006170971019cc3936a2de46081ab.tar.gz
freebsd-ports-graphics-e80f0953d18006170971019cc3936a2de46081ab.tar.zst
freebsd-ports-graphics-e80f0953d18006170971019cc3936a2de46081ab.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'databases/firebird2-server')
-rw-r--r--databases/firebird2-server/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/firebird2-server/pkg-plist b/databases/firebird2-server/pkg-plist
index 0a94428c5d7..8e200a428cc 100644
--- a/databases/firebird2-server/pkg-plist
+++ b/databases/firebird2-server/pkg-plist
@@ -11,7 +11,7 @@ sbin/gds_drop
@unexec (cmp -s %D/%%CONFDIR%%/aliases.conf %D/%%CONFDIR%%/aliases.conf.sample && rm -f %D/%%CONFDIR%%/aliases.conf) || true
%%CONFDIR%%/aliases.conf.sample
@exec [ -f %B/aliases.conf ] || cp %B/%f %B/aliases.conf
-@unexec rmdir %D/%%CONFDIR%% 2>/dev/null || true
+@dirrmtry %%CONFDIR%%
@cwd /
@unexec (cmp -s %D/%%LOCALSTATEDIR%%/security.fdb %D/%%LOCALSTATEDIR%%/security.fdb.sample && rm -f %D/%%LOCALSTATEDIR%%/security.fdb) || true
%%LOCALSTATEDIR%%/security.fdb.sample
@@ -30,4 +30,4 @@ sbin/gds_drop
@dirrm %%LOCALSTATEDIR%%/UDF
@dirrm %%LOCALSTATEDIR%%/help
@dirrm %%LOCALSTATEDIR%%/intl
-@unexec rmdir %D/%%LOCALSTATEDIR%% 2>/dev/null || true
+@dirrmtry %%LOCALSTATEDIR%%