From 1330b4e335bb14ed8999feb60f5fd96236611149 Mon Sep 17 00:00:00 2001 From: Horia Racoviceanu Date: Tue, 21 May 2019 12:02:45 -0400 Subject: [PATCH] [#4] ddns wip - install with default DOMAIN_NAME --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e84f80e..18a014f 100644 --- a/Makefile +++ b/Makefile @@ -163,10 +163,12 @@ config: .else @echo Super-Master .endif -.for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS} +.if ${DOMAIN_NAME} != "example.com" +. for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS} cp -p ${_NSDCONF:S|${DOMAIN_NAME}|example.com|:S|^|${WRKSRC}/|} \ ${_NSDCONF:S|^|${WRKSRC}/|} -.endfor +. endfor +.endif @echo Configured ${DITHEMATIC}: