diff --git a/root/init-hook b/root/init-hook index f2e5ebd..9583521 100755 --- a/root/init-hook +++ b/root/init-hook @@ -3,7 +3,7 @@ IFS="|" read -r -a CLI_OPTIONS <<< "$CLI_OPTIONS_STRING" -if [[ $(tr "[:upper:]" "[:lower:]" <<<"${KOMETA_RUN}") = "true" ]] || echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|--tests|--run-tests|--run-collections|--run-libraries|--run-metadata-files|--resume|-r|-rm|-rl|-rc|-rt|re)([\s]|$)'; then +if [[ $(tr "[:upper:]" "[:lower:]" <<<"${KOMETA_RUN}") = "true" ]] || echo "${CLI_OPTIONS[@]}" | grep -qPo '([\s]|^)(--run|--tests|--run-collections|--run-libraries|--run-files|--resume|-r|-ts|-rc|-rl|-rf|-re)([\s]|$)'; then rm -rf /etc/s6-overlay/s6-rc.d/svc-kometa rm -rf /etc/s6-overlay/s6-rc.d/user/contents.d/svc-kometa mkdir -p /etc/s6-overlay/s6-rc.d/user2/contents.d/