svn commit: r331930 - head/net/dhcpcd
Xin LI
delphij at FreeBSD.org
Tue Oct 29 06:06:16 UTC 2013
Author: delphij
Date: Tue Oct 29 06:06:15 2013
New Revision: 331930
URL: http://svnweb.freebsd.org/changeset/ports/331930
Log:
Don't leave dhcpcd-hooks behind if it's empty.
Modified:
head/net/dhcpcd/Makefile
head/net/dhcpcd/pkg-plist
Modified: head/net/dhcpcd/Makefile
==============================================================================
--- head/net/dhcpcd/Makefile Tue Oct 29 05:37:53 2013 (r331929)
+++ head/net/dhcpcd/Makefile Tue Oct 29 06:06:15 2013 (r331930)
@@ -3,6 +3,7 @@
PORTNAME= dhcpcd
PORTVERSION= 5.5.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ \
LOCAL/delphij
Modified: head/net/dhcpcd/pkg-plist
==============================================================================
--- head/net/dhcpcd/pkg-plist Tue Oct 29 05:37:53 2013 (r331929)
+++ head/net/dhcpcd/pkg-plist Tue Oct 29 06:06:15 2013 (r331930)
@@ -10,3 +10,4 @@ libexec/dhcpcd-hooks/30-hostname
libexec/dhcpcd-hooks/01-test
libexec/dhcpcd-hooks/29-lookup-hostname
libexec/dhcpcd-run-hooks
+ at unexec [ -s %D/libexec/dhcpcd-hooks ] || rm -f %D/libexec/dhcpcd-hooks
More information about the svn-ports-all
mailing list