From 9250839801e6a0201c6a1dd7e24007f2a588f84b Mon Sep 17 00:00:00 2001 From: edwin Date: Sat, 19 Apr 2008 01:40:05 +0000 Subject: Backout two entries which should only delete the files if they are zero length. --- databases/firebird-server/pkg-plist | 2 +- databases/firebird2-server/pkg-plist | 2 +- databases/firebird20-server/pkg-plist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'databases') 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` -- cgit