From: Chris Koeritz Date: Sun, 12 Nov 2017 05:51:21 +0000 (-0500) Subject: Merge branch 'dev' of feistymeow.org:feisty_meow into dev X-Git-Tag: 2.140.98^2~4^2~25 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=a9b33c1f7e53880943e4c79503903f8fe44b4ada;hp=09b0830186d1d4f074ffc05f8da60ad0c7e350a2;p=feisty_meow.git Merge branch 'dev' of feistymeow.org:feisty_meow into dev --- diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index e3cf02c6..bc109031 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -56,9 +56,13 @@ check_application_dir "$APPLICATION_DIR" add_domain "$DOMAIN_NAME" test_or_die "Setting up domain: $DOMAIN_NAME" +sep + add_apache_site "$APPLICATION_NAME" "$DOMAIN_NAME" test_or_die "Setting up apache site for: $APPLICATION_NAME" +sep + powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" sep diff --git a/scripts/system/add_apache_site.sh b/scripts/system/add_apache_site.sh index e99f371a..6be31c8c 100644 --- a/scripts/system/add_apache_site.sh +++ b/scripts/system/add_apache_site.sh @@ -24,9 +24,9 @@ function write_apache_config() if [ -f "$site_config" ]; then echo "The apache configuration file already exists at:" echo " $site_config" - echo "Please remove this file before proceeding, if it is junk. For example:" - echo " sudo rm $site_config" - exit 1 + echo "Since apache configuration files can get very complex, we do not want to" + echo "assume that this file is removable. Calling the site addition done." + exit 0 fi echo "Creating a new apache2 site for $sitename with config file:" diff --git a/scripts/system/add_domain.sh b/scripts/system/add_domain.sh index 0dabaf2e..e0a6fb48 100644 --- a/scripts/system/add_domain.sh +++ b/scripts/system/add_domain.sh @@ -33,11 +33,13 @@ function write_new_domain_file() echo "using the config file: $domain_file" if [ -f $domain_file ]; then + echo echo "The domain configuration file already exists at:" echo " $domain_file" - echo "Please remove this file before proceeding, if it is junk. For example:" - echo " sudo rm $domain_file" - exit 1 + echo "Since we don't want to tear that down if it has specialized configuration" + echo "data in it, we will just leave it in place and consider our job done." + echo + exit 0 fi echo "