summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/build b/build
index 7dd21f6..e8aff78 100755
--- a/build
+++ b/build
@@ -64,9 +64,8 @@ install: build
config_enabled "$${config}" && \
install_init_script "$${script}" \
$${links}; \
- else \
- config_enabled "$${config}" && \
- install_init_script "$${script}"; \
+ elif config_enabled "$${config}"; then \
+ install_init_script "$${script}"; \
printf '%s %s\n' "$${script}" "$${links}" >&3; \
fi; \
done <../scripts; \