turns out the script config system for site avenger scripts wasn't
working yet after all, since it was never tested. kind of expected that
would be the case. now working to fix some bugs.
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
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:"
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 "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