From 88af924ee476d38acd8163d69c6a055eb722edc3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 18 Dec 2023 20:58:31 +0000 Subject: [PATCH] Don't exit if the `.env` file is skipped --- templates/astro/run.twig | 2 +- templates/drupal/run.twig | 2 +- templates/fractal/run.twig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/astro/run.twig b/templates/astro/run.twig index 8d509e0..369a6de 100755 --- a/templates/astro/run.twig +++ b/templates/astro/run.twig @@ -57,7 +57,7 @@ function help { # Start the project. function start { {% if not isFlake %} - cp -v --no-clobber .env.example .env + cp -v --no-clobber .env.example .env || true docker compose up -d {% else %} fractal start --sync diff --git a/templates/drupal/run.twig b/templates/drupal/run.twig index 58603a3..d69cc0c 100755 --- a/templates/drupal/run.twig +++ b/templates/drupal/run.twig @@ -96,7 +96,7 @@ function quality { {% endif %} function start { - cp -v --no-clobber .env.example .env + cp -v --no-clobber .env.example .env || true docker compose up -d } diff --git a/templates/fractal/run.twig b/templates/fractal/run.twig index d3ad745..7c240b4 100755 --- a/templates/fractal/run.twig +++ b/templates/fractal/run.twig @@ -73,7 +73,7 @@ function help { # Start the project. function start { {% if not isFlake %} - cp -v --no-clobber .env.example .env + cp -v --no-clobber .env.example .env || true docker compose up -d {% else %} fractal start --sync