aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-04-19 09:40:05 +0800
committeredwin <edwin@FreeBSD.org>2008-04-19 09:40:05 +0800
commit9250839801e6a0201c6a1dd7e24007f2a588f84b (patch)
treed196cd6391647e5bcf06f956b665d113f2acf21c /databases
parent1b114f9c46a8b9102dadea80f6055cd1a8e830a4 (diff)
downloadfreebsd-ports-gnome-9250839801e6a0201c6a1dd7e24007f2a588f84b.tar.gz
freebsd-ports-gnome-9250839801e6a0201c6a1dd7e24007f2a588f84b.tar.zst
freebsd-ports-gnome-9250839801e6a0201c6a1dd7e24007f2a588f84b.zip
Backout two entries which should only delete the files if they are zero length.
Diffstat (limited to 'databases')
-rw-r--r--databases/firebird-server/pkg-plist2
-rw-r--r--databases/firebird2-server/pkg-plist2
-rw-r--r--databases/firebird20-server/pkg-plist2
3 files changed, 3 insertions, 3 deletions
diff --git a/databases/firebird-server/pkg-plist b/databases/firebird-server/pkg-plist
index efb6250c2e01..b4cc040b2d23 100644
--- a/databases/firebird-server/pkg-plist
+++ b/databases/firebird-server/pkg-plist
@@ -26,7 +26,7 @@ sbin/gds_drop
@exec [ -f %D/%%LOCALSTATEDIR%%/security.fdb ] || cp %D/%F %D/%%LOCALSTATEDIR%%/security.fdb
%%LOCALSTATEDIR%%/RELNOTES
%%LOCALSTATEDIR%%/help/help.fdb
-@rmtry %%LOCALSTATEDIR%%/firebird.log
+@unexec [ -s %D/%%LOCALSTATEDIR%%/firebird.log ] || rm -f %D/%%LOCALSTATEDIR%%/firebird.log
@rmtry %%LOCALSTATEDIR%%/isc_event1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_init1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_lock1.`hostname`
diff --git a/databases/firebird2-server/pkg-plist b/databases/firebird2-server/pkg-plist
index 400054ec22f0..ad1998718589 100644
--- a/databases/firebird2-server/pkg-plist
+++ b/databases/firebird2-server/pkg-plist
@@ -27,7 +27,7 @@ libexec/firebird/udf/ib_udf2.sql
%%LOCALSTATEDIR%%/security2.fdb.sample
@exec [ -f %D/%%LOCALSTATEDIR%%/security2.fdb ] || cp %D/%F %D/%%LOCALSTATEDIR%%/security2.fdb
%%LOCALSTATEDIR%%/help/help.fdb
-@rmtry %%LOCALSTATEDIR%%/firebird.log
+@unexec [ -s %D/%%LOCALSTATEDIR%%/firebird.log ] || rm -f %D/%%LOCALSTATEDIR%%/firebird.log
@rmtry %%LOCALSTATEDIR%%/isc_event1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_init1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_lock1.`hostname`
diff --git a/databases/firebird20-server/pkg-plist b/databases/firebird20-server/pkg-plist
index 400054ec22f0..ad1998718589 100644
--- a/databases/firebird20-server/pkg-plist
+++ b/databases/firebird20-server/pkg-plist
@@ -27,7 +27,7 @@ libexec/firebird/udf/ib_udf2.sql
%%LOCALSTATEDIR%%/security2.fdb.sample
@exec [ -f %D/%%LOCALSTATEDIR%%/security2.fdb ] || cp %D/%F %D/%%LOCALSTATEDIR%%/security2.fdb
%%LOCALSTATEDIR%%/help/help.fdb
-@rmtry %%LOCALSTATEDIR%%/firebird.log
+@unexec [ -s %D/%%LOCALSTATEDIR%%/firebird.log ] || rm -f %D/%%LOCALSTATEDIR%%/firebird.log
@rmtry %%LOCALSTATEDIR%%/isc_event1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_init1.`hostname`
@rmtry %%LOCALSTATEDIR%%/isc_lock1.`hostname`