diff --git a/Taskfile.yaml b/Taskfile.yaml index fce6cc85..4f3736c1 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -32,7 +32,7 @@ tasks: init: desc: Initialize configuration files cmds: - - cp --update=none {{.BOOTSTRAP_CONFIG_FILE | replace ".yaml" ".sample.yaml"}} {{.BOOTSTRAP_CONFIG_FILE}} + - cp {{if eq OS "darwin"}}-n{{else}}--update=none{{end}} {{.BOOTSTRAP_CONFIG_FILE | replace ".yaml" ".sample.yaml"}} {{.BOOTSTRAP_CONFIG_FILE}} - echo "=== Configuration file copied ===" - echo "Proceed with updating the configuration files..." - echo "{{.BOOTSTRAP_CONFIG_FILE}}"