Don't stomp on existing configs.
authorRoy Marples <roy@marples.name>
Fri, 4 Dec 2009 22:22:05 +0000 (22:22 +0000)
committerRoy Marples <roy@marples.name>
Fri, 4 Dec 2009 22:22:05 +0000 (22:22 +0000)
Makefile

index 5238304c07a5b259a7e632289e70c13acb33263a..88e5570f6bceada2a57d66a43c13150278e71016 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,6 +64,7 @@ install: ${TARGET}
        ${INSTALL} -d ${DESTDIR}${BINDIR}
        ${INSTALL} -m ${BINMODE} resolvconf ${DESTDIR}${BINDIR}
        ${INSTALL} -d ${DESTDIR}${SYSCONFDIR}
+       test -e ${DESTDIR}${SYSCONFDIR}/resolvconf.conf || \
        ${INSTALL} -m ${DOCMODE} resolvconf.conf ${DESTDIR}${SYSCONFDIR}
        ${INSTALL} -d ${DESTDIR}${LIBEXECDIR}
        ${INSTALL} -m ${DOCMODE} ${SUBSCRIBERS} ${DESTDIR}${LIBEXECDIR}