summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-08 21:11:44 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-08 21:11:44 (EDT)
commit9c9ae74718374cd8f063758c3f4bf4288e50bada (patch)
tree7682fd2e20b001883be62339a749f8456428d835
parentefbf9a07dce961f7c4af50b74f3d4c354c1fd4bb (diff)
build: Move index.html install out of INIT test.
-rwxr-xr-xbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/build b/build
index e5a53a1..0f0b3c8 100755
--- a/build
+++ b/build
@@ -50,10 +50,10 @@ install:
config_enabled "$${config}" && \
install_init_script "$${script}" $${links}; \
done <../scripts; \
- if config_enabled HTTPD; then \
- install -d -m 0755 dest/var/www; \
- install -p -m 0644 ../src.var/www/index.html \
- dest/var/www/index.html; \
- fi; \
+ fi; \
+ if config_enabled HTTPD; then \
+ install -d -m 0755 dest/var/www; \
+ install -p -m 0644 ../src.var/www/index.html \
+ dest/var/www/index.html; \
fi
oh-installfiles