]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
BSD: Don't install 00-linux hook
authorRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 17:15:07 +0000 (18:15 +0100)
committerRoy Marples <roy@marples.name>
Mon, 30 Mar 2020 17:15:07 +0000 (18:15 +0100)
hooks/Makefile

index aa908c12f47ac69806816a5042a45f525c649318..f805064b599ef4ab26589f42fe7ae450e6e9bc52 100644 (file)
@@ -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