From 00fd8542c3c8c1cd45cf4b84a0c7aa4d8d13c51a Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Mon, 10 Apr 2023 21:17:03 -0700 Subject: [PATCH] fixed install script order --- bin/nysymfony | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/bin/nysymfony b/bin/nysymfony index cc66a40..202ff57 100755 --- a/bin/nysymfony +++ b/bin/nysymfony @@ -59,14 +59,6 @@ wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/twig/twig.yaml mv twig.yaml config/packages/twig.yaml echo "Your twig.yaml config file has been replaced, remove the bak if you are happy." -################################################################################ -# Routes -################################################################################ - -mv config/routes/routes.yaml config/routes/routes.yaml.bak -wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/routes/routes.yaml -mv routes.yaml config/routes/routes.yaml - ################################################################################ # SASS ################################################################################ @@ -158,6 +150,15 @@ wget https://raw.githubusercontent.com/nickyeoman/phpframework/main/docker/docke echo "Creating a Dockerfile" wget https://raw.githubusercontent.com/nickyeoman/phpframework/main/docker/Dockerfile +################################################################################ +# Routes +################################################################################ + +mv config/routes/routes.yaml config/routes/routes.yaml.bak +wget https://git.nickyeoman.com/nick/symfony/raw/branch/main/routes/routes.yaml +mv routes.yaml config/routes/routes.yaml + + ################################################################################ # Clean up ################################################################################