summaryrefslogtreecommitdiffstats
path: root/hooks
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-03-30 18:15:07 +0100
committerRoy Marples <roy@marples.name>2020-03-30 18:15:07 +0100
commit1d8e8631a4eb9bac73e81fc72df285f9743d7a55 (patch)
tree62b933c1bef13c463680f11f6f3061f9ffc57258 /hooks
parent2029fbaea8feddc81be25cbe3f30b983909b44d4 (diff)
downloaddhcpcd-1d8e8631a4eb9bac73e81fc72df285f9743d7a55.tar.xz
BSD: Don't install 00-linux hook
Diffstat (limited to 'hooks')
-rw-r--r--hooks/Makefile8
1 files changed, 6 insertions, 2 deletions
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