Skip to content

Commit

Permalink
Update CLI options
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Apr 23, 2024
1 parent 1154527 commit 27365ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/init-hook
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 27365ea

Please sign in to comment.