summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-07 07:29:37 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-07 07:29:37 (EST)
commit7f7978c7bdb23404bac6376ad692c9d787ea2af6 (patch)
treec8c06cc266304d03f3208f496eb8434244c40476
parent9c300210ef25ff9288d96538ff98616be6dc5410 (diff)
build: Omit disabled services from init-scripts
-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; \