summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/analog/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
index a0d1e4fc887a..abc993d3438e 100644
--- a/www/analog/Makefile
+++ b/www/analog/Makefile
@@ -41,11 +41,10 @@ do-install:
${INSTALL_PROGRAM} analog ${PREFIX}/bin
cd ${WRKSRC} && \
for file in analog.cfg ; do \
- if [ -f ${PREFIX}/etc/$$file ] ; then \
- ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
- else \
+ if [ ! -f ${PREFIX}/etc/$$file ] ; then \
${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
fi ; \
+ ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
done
.if !defined(NOPORTDOCS)
cd ${WRKSRC}/docs && \