aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird-server
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-04-19 01:40:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-04-19 01:40:05 +0000
commit5ef26c5ac0845fb8a7a49dbd70d104d316f97d8a (patch)
tree98c45b0ea446782e8155665185b07aee5ed422ca /databases/firebird-server
parent3b1f80f0d8f32a48f152f4c8e0f28210768ef024 (diff)
downloadports-5ef26c5ac0845fb8a7a49dbd70d104d316f97d8a.tar.gz
ports-5ef26c5ac0845fb8a7a49dbd70d104d316f97d8a.zip
Backout two entries which should only delete the files if they are zero length.
Notes
Notes: svn path=/head/; revision=211561
Diffstat (limited to 'databases/firebird-server')
-rw-r--r--databases/firebird-server/pkg-plist2
1 files changed, 1 insertions, 1 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`