aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-08-25 19:20:30 +0800
committeredwin <edwin@FreeBSD.org>2003-08-25 19:20:30 +0800
commitd0feae30e9ee1adb20dab25bf82890f5fb0c5dae (patch)
tree52aa112d01f81516d06bf21b2e086036bdff5260
parent2881c8bd6c980d4d01d7e81125d490397453c788 (diff)
downloadfreebsd-ports-gnome-d0feae30e9ee1adb20dab25bf82890f5fb0c5dae.tar.gz
freebsd-ports-gnome-d0feae30e9ee1adb20dab25bf82890f5fb0c5dae.tar.zst
freebsd-ports-gnome-d0feae30e9ee1adb20dab25bf82890f5fb0c5dae.zip
only remove the files if they are zero-length.
-rw-r--r--net/isc-dhcp3-server/pkg-plist4
-rw-r--r--net/isc-dhcp3/pkg-plist4
-rw-r--r--net/isc-dhcp30-server/pkg-plist4
-rw-r--r--net/isc-dhcp31-server/pkg-plist4
-rw-r--r--net/isc-dhcp40-server/pkg-plist4
5 files changed, 10 insertions, 10 deletions
diff --git a/net/isc-dhcp3-server/pkg-plist b/net/isc-dhcp3-server/pkg-plist
index f60b752e35d9..76de3da76463 100644
--- a/net/isc-dhcp3-server/pkg-plist
+++ b/net/isc-dhcp3-server/pkg-plist
@@ -40,6 +40,6 @@ sbin/dhcrelay
@dirrm include/omapip
@dirrm include/isc-dhcp
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
-@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@unexec [ ! -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
-@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
+@unexec [ ! -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
diff --git a/net/isc-dhcp3/pkg-plist b/net/isc-dhcp3/pkg-plist
index f60b752e35d9..76de3da76463 100644
--- a/net/isc-dhcp3/pkg-plist
+++ b/net/isc-dhcp3/pkg-plist
@@ -40,6 +40,6 @@ sbin/dhcrelay
@dirrm include/omapip
@dirrm include/isc-dhcp
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
-@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@unexec [ ! -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
-@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
+@unexec [ ! -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
diff --git a/net/isc-dhcp30-server/pkg-plist b/net/isc-dhcp30-server/pkg-plist
index f60b752e35d9..76de3da76463 100644
--- a/net/isc-dhcp30-server/pkg-plist
+++ b/net/isc-dhcp30-server/pkg-plist
@@ -40,6 +40,6 @@ sbin/dhcrelay
@dirrm include/omapip
@dirrm include/isc-dhcp
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
-@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@unexec [ ! -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
-@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
+@unexec [ ! -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
diff --git a/net/isc-dhcp31-server/pkg-plist b/net/isc-dhcp31-server/pkg-plist
index f60b752e35d9..76de3da76463 100644
--- a/net/isc-dhcp31-server/pkg-plist
+++ b/net/isc-dhcp31-server/pkg-plist
@@ -40,6 +40,6 @@ sbin/dhcrelay
@dirrm include/omapip
@dirrm include/isc-dhcp
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
-@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@unexec [ ! -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
-@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
+@unexec [ ! -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist
index f60b752e35d9..76de3da76463 100644
--- a/net/isc-dhcp40-server/pkg-plist
+++ b/net/isc-dhcp40-server/pkg-plist
@@ -40,6 +40,6 @@ sbin/dhcrelay
@dirrm include/omapip
@dirrm include/isc-dhcp
@exec [ -f /var/db/dhclient.leases ] || touch /var/db/dhclient.leases
-@unexec [ -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
+@unexec [ ! -s /var/db/dhclient.leases ] || rm -f /var/db/dhclient.leases
@exec [ -f /var/db/dhcpd.leases ] || touch /var/db/dhcpd.leases
-@unexec [ -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases
+@unexec [ ! -s /var/db/dhcpd.leases ] || rm -f /var/db/dhcpd.leases