diff options
Diffstat (limited to 'share/templater/drupal7/setup')
-rwxr-xr-x | share/templater/drupal7/setup | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/share/templater/drupal7/setup b/share/templater/drupal7/setup index 70ebe07..ce38946 100755 --- a/share/templater/drupal7/setup +++ b/share/templater/drupal7/setup @@ -15,10 +15,11 @@ function templater_drupal7 { templater_echo "Setting up Drupal 7..." if [ ! -e ".gitignore" ] || ! grep -q "^settings.php" .gitignore; then - echo settings.php >> .gitignore - echo settings.prod.php >> .gitignore - echo files >> .gitignore - echo sql >> .gitignore + echo settings.php >> .gitignore + echo settings.local.php >> .gitignore + echo settings.prod.php >> .gitignore + echo files >> .gitignore + echo sql >> .gitignore fi if [ ! -e "settings.dev.php" ]; then @@ -28,6 +29,10 @@ function templater_drupal7 { ln -sf settings.dev.php settings.php + if [ ! -e "settings.local.php" ]; then + cp $SHARE/drupal7/files/settings.local.php settings.local.php + fi + templater_install_makefile $SHARE/drupal7/files/Makefile.drupal7 if [ ! -e "drupal.make.yml" ]; then |