diff options
author | delphij <delphij@FreeBSD.org> | 2013-10-29 14:06:15 +0800 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-10-29 14:06:15 +0800 |
commit | 3c6aac5c06a923167b21455060a82f1e1387869e (patch) | |
tree | a22000ebbd7e48b8e145011748a0c8252e88f57a /net/dhcpcd | |
parent | e6bc9591db0a0982c9f6cf2d4bde224929a47024 (diff) | |
download | freebsd-ports-gnome-3c6aac5c06a923167b21455060a82f1e1387869e.tar.gz freebsd-ports-gnome-3c6aac5c06a923167b21455060a82f1e1387869e.tar.zst freebsd-ports-gnome-3c6aac5c06a923167b21455060a82f1e1387869e.zip |
Don't leave dhcpcd-hooks behind if it's empty.
Diffstat (limited to 'net/dhcpcd')
-rw-r--r-- | net/dhcpcd/Makefile | 1 | ||||
-rw-r--r-- | net/dhcpcd/pkg-plist | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index c13b556b5a3e..fbd948efe28c 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -3,6 +3,7 @@ PORTNAME= dhcpcd PORTVERSION= 5.5.6 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ \ LOCAL/delphij diff --git a/net/dhcpcd/pkg-plist b/net/dhcpcd/pkg-plist index f27ade4bd7d4..33125857ecb6 100644 --- a/net/dhcpcd/pkg-plist +++ b/net/dhcpcd/pkg-plist @@ -10,3 +10,4 @@ libexec/dhcpcd-hooks/30-hostname libexec/dhcpcd-hooks/01-test libexec/dhcpcd-hooks/29-lookup-hostname libexec/dhcpcd-run-hooks +@unexec [ -s %D/libexec/dhcpcd-hooks ] || rm -f %D/libexec/dhcpcd-hooks |