diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-25 11:20:30 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-25 11:20:30 +0000 |
commit | d0feae30e9ee1adb20dab25bf82890f5fb0c5dae (patch) | |
tree | 52aa112d01f81516d06bf21b2e086036bdff5260 /net/isc-dhcp40-server | |
parent | 2881c8bd6c980d4d01d7e81125d490397453c788 (diff) | |
download | FreeBSD-ports-d0feae30e9ee1adb20dab25bf82890f5fb0c5dae.zip FreeBSD-ports-d0feae30e9ee1adb20dab25bf82890f5fb0c5dae.tar.gz |
only remove the files if they are zero-length.
Diffstat (limited to 'net/isc-dhcp40-server')
-rw-r--r-- | net/isc-dhcp40-server/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/isc-dhcp40-server/pkg-plist b/net/isc-dhcp40-server/pkg-plist index f60b752..76de3da 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 |