diff options
author | Patrick 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) |
commit | 7f7978c7bdb23404bac6376ad692c9d787ea2af6 (patch) | |
tree | c8c06cc266304d03f3208f496eb8434244c40476 | |
parent | 9c300210ef25ff9288d96538ff98616be6dc5410 (diff) |
build: Omit disabled services from init-scripts
-rwxr-xr-x | build | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; \ |