Date: Tue, 29 Oct 2013 06:06:16 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331930 - head/net/dhcpcd Message-ID: <201310290606.r9T66GaO021214@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +@unexec [ -s %D/libexec/dhcpcd-hooks ] || rm -f %D/libexec/dhcpcd-hooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310290606.r9T66GaO021214>