From: Roy Marples Date: Mon, 30 Mar 2020 17:15:07 +0000 (+0100) Subject: BSD: Don't install 00-linux hook X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d8e8631a4eb9bac73e81fc72df285f9743d7a55;p=thirdparty%2Fdhcpcd.git BSD: Don't install 00-linux hook --- diff --git a/hooks/Makefile b/hooks/Makefile index aa908c12..f805064b 100644 --- a/hooks/Makefile +++ b/hooks/Makefile @@ -69,7 +69,11 @@ _import-src: ${INSTALL} -d ${DESTDIR}/hooks cp dhcpcd-run-hooks.in dhcpcd-run-hooks.8.in [0-9]* ${DESTDIR}/hooks rm ${DESTDIR}/hooks/50-dhcpcd-compat - if [ `uname` = Linux ]; then rm ${DESTDIR}/hooks/50-ypbind.in; \ - else rm ${DESTDIR}/hooks/50-yp.conf; fi + if [ `uname` = Linux ]; then \ + rm ${DESTDIR}/hooks/50-ypbind.in; \ + else \ + rm ${DESTDIR}/hooks/00-linux; \ + rm ${DESTDIR}/hooks/50-yp.conf; \ + fi include ${TOP}/Makefile.inc