Don't leave dhcpcd-hooks behind if it's empty.
This commit is contained in:
parent
90713c7acd
commit
7bcbe8bbed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331930
2 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= dhcpcd
|
||||
PORTVERSION= 5.5.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://roy.marples.name/downloads/dhcpcd/ \
|
||||
LOCAL/delphij
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue