diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/templater/drupal8/files/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/share/templater/drupal8/files/Makefile b/share/templater/drupal8/files/Makefile index 58ce6c4..4f750c9 100644 --- a/share/templater/drupal8/files/Makefile +++ b/share/templater/drupal8/files/Makefile @@ -73,14 +73,21 @@ default_settings: # Setup drupal settings settings: default_settings - test -s $(DRUPAL)/sites/sites.php || cp sites.php $(DRUPAL)/sites/sites.php - mkdir -p $(DRUPAL)/sites/$(PROJECT) - test -s $(DRUPAL)/sites/$(PROJECT)/settings.$(ENV).php || cp settings.dev.php $(DRUPAL)/sites/$(PROJECT)/settings.$(ENV).php - test -s $(DRUPAL)/sites/$(PROJECT)/settings.php || ln -s settings.$(ENV).php $(DRUPAL)/sites/$(PROJECT)/settings.php - test -s $(DRUPAL)/sites/$(PROJECT)/services.$(ENV).yml || cp services.dev.yml $(DRUPAL)/sites/$(PROJECT)/services.$(ENV).yml - test -s $(DRUPAL)/sites/$(PROJECT)/services.yml || ln -s services.$(ENV).yml $(DRUPAL)/sites/$(PROJECT)/services.yml - chmod 640 $(DRUPAL)/sites/$(PROJECT)/settings.php - chmod 640 $(DRUPAL)/sites/$(PROJECT)/services.yml + #test -s $(DRUPAL)/sites/sites.php || cp sites.php $(DRUPAL)/sites/sites.php + #mkdir -p $(DRUPAL)/sites/$(PROJECT) + #test -s $(DRUPAL)/sites/$(PROJECT)/settings.$(ENV).php || cp settings.dev.php $(DRUPAL)/sites/$(PROJECT)/settings.$(ENV).php + #test -s $(DRUPAL)/sites/$(PROJECT)/settings.php || ln -s settings.$(ENV).php $(DRUPAL)/sites/$(PROJECT)/settings.php + #test -s $(DRUPAL)/sites/$(PROJECT)/services.$(ENV).yml || cp services.dev.yml $(DRUPAL)/sites/$(PROJECT)/services.$(ENV).yml + #test -s $(DRUPAL)/sites/$(PROJECT)/services.yml || ln -s services.$(ENV).yml $(DRUPAL)/sites/$(PROJECT)/services.yml + #chmod 640 $(DRUPAL)/sites/$(PROJECT)/settings.php + #chmod 640 $(DRUPAL)/sites/$(PROJECT)/services.yml + test -s $(DRUPAL)/sites/sites.php || sudo cp sites.php $(DRUPAL)/sites/sites.php + test -s settings.$(ENV).php || cp settings.dev.php settings.$(ENV).php + test -s settings.php || ln -s settings.$(ENV).php settings.php + test -s services.$(ENV).yml || cp services.dev.yml services.$(ENV).yml + test -s services.yml || ln -s services.$(ENV).yml services.yml + chmod 640 settings.php + chmod 640 services.yml # Fix ownership ownership: |