Skip to content

Commit 1330b4e

Browse files
committed
[#4] ddns wip
- install with default DOMAIN_NAME
1 parent 8dc2984 commit 1330b4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,12 @@ config:
163163
.else
164164
@echo Super-Master
165165
.endif
166-
.for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS}
166+
.if ${DOMAIN_NAME} != "example.com"
167+
. for _NSDCONF in ${NSDCONF:N*nsd.conf:N*.PowerDNS}
167168
cp -p ${_NSDCONF:S|${DOMAIN_NAME}|example.com|:S|^|${WRKSRC}/|} \
168169
${_NSDCONF:S|^|${WRKSRC}/|}
169-
.endfor
170+
. endfor
171+
.endif
170172
@echo Configured
171173

172174
${DITHEMATIC}:

0 commit comments

Comments
 (0)