diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-25 19:20:30 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-25 19:20:30 +0800 |
commit | d0feae30e9ee1adb20dab25bf82890f5fb0c5dae (patch) | |
tree | 52aa112d01f81516d06bf21b2e086036bdff5260 | |
parent | 2881c8bd6c980d4d01d7e81125d490397453c788 (diff) | |
download | freebsd-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-plist | 4 | ||||
-rw-r--r-- | net/isc-dhcp3/pkg-plist | 4 | ||||
-rw-r--r-- | net/isc-dhcp30-server/pkg-plist | 4 | ||||
-rw-r--r-- | net/isc-dhcp31-server/pkg-plist | 4 | ||||
-rw-r--r-- | net/isc-dhcp40-server/pkg-plist | 4 |
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 |