Skip to content
Snippets Groups Projects
Commit 5314f306 authored by jurgenhaas's avatar jurgenhaas
Browse files

customer/bison/core#13 Move the optional init file to the web directory before...

customer/bison/core#13 Move the optional init file to the web directory before calling drush site:init
parent e552a6f1
No related branches found
No related tags found
No related merge requests found
...@@ -50,8 +50,9 @@ function create { ...@@ -50,8 +50,9 @@ function create {
# Init site config values # Init site config values
if [[ -f "drush/Commands/dev_modules/dev_modules.info.yml" ]]; then if [[ -f "drush/Commands/dev_modules/dev_modules.info.yml" ]]; then
if [[ -f "/tmp/init_site.json" ]]; then if [[ -f "/tmp/init_site.json" ]]; then
drush site:init /tmp/init_site.json mv /tmp/init_site.json web/.init_site.json
rm /tmp/init_site.json drush site:init .init_site.json
rm web/.init_site.json
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment