aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-03-27 22:23:07 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-03-27 22:23:07 +0000
commitd7fadb3b3c6872337fc5bc9764ee87d310c53f6a (patch)
treefa6d6e402ab1141c97cfb7714601fa0e296ea933 /net
parent92a85314e95532de6ec145d6762d1bb030944b7d (diff)
downloadports-d7fadb3b3c6872337fc5bc9764ee87d310c53f6a.tar.gz
ports-d7fadb3b3c6872337fc5bc9764ee87d310c53f6a.zip
Convert to @touch/@rmempty
Notes
Notes: svn path=/head/; revision=569363
Diffstat (limited to 'net')
-rw-r--r--net/isc-dhcp44-client/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/isc-dhcp44-client/pkg-plist b/net/isc-dhcp44-client/pkg-plist
index 4e7c506d69c1..0ce8bbd44887 100644
--- a/net/isc-dhcp44-client/pkg-plist
+++ b/net/isc-dhcp44-client/pkg-plist
@@ -5,5 +5,5 @@ man/man5/dhclient.leases.5.gz
man/man8/dhclient.8.gz
man/man8/dhclient-script.8.gz
@sample etc/dhclient.conf.example etc/dhclient.conf
-@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
-@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases
+@touch /var/run/dhclient.leases
+@rmempty /var/run/dhclient.leases