]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove the old 10-mtu hook if we can.
authorRoy Marples <roy@marples.name>
Thu, 6 Aug 2015 12:53:55 +0000 (12:53 +0000)
committerRoy Marples <roy@marples.name>
Thu, 6 Aug 2015 12:53:55 +0000 (12:53 +0000)
dhcpcd-hooks/Makefile

index 24c9726d67fd0e4619706241e8c1b719363c04aa..373d85dc9f3ae37d6b03543ee782dba2ee7549c9 100644 (file)
@@ -22,6 +22,8 @@ clean:
 proginstall: ${HOOKSCRIPTS}
        ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR}
        ${INSTALL} -m ${NONBINMODE} ${SCRIPTS} ${DESTDIR}${SCRIPTSDIR}
+       # We need to remove the old MTU change script if we at all can.
+       rm -f ${DESTDIR}${SCRIPTSDIR}/10-mtu
 
 install: proginstall