From 0e0e4edd80c4deba8ab793f91854e8e11154b590 Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Mon, 6 Oct 2014 19:51:39 +0530 Subject: [PATCH] minor update --- bin/easyengine | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/easyengine b/bin/easyengine index 87738911..45bdcd90 100644 --- a/bin/easyengine +++ b/bin/easyengine @@ -741,6 +741,8 @@ elif [ "$EE_FIRST" = "site" ]; then || [ "$EE_SITE_UPDATE_OPTION" = "--wpsubdomain" ] || [ "$EE_SITE_UPDATE_OPTION" = "--wpsubdir" ]; then # Update NGINX ee_mod_update_domain + else + ee_lib_error "Site already, $EE_SITE_UPDATE_OPTION $EE_SITE_CACHE_OPTION, exit status =" $? fi if [ "$EE_SITE_UPDATE_OPTION" = "--wpsubdir" ] || [ "$EE_SITE_UPDATE_OPTION" = "--wpsubdomain" ]; then ee_mod_setup_network @@ -756,6 +758,8 @@ elif [ "$EE_FIRST" = "site" ]; then || [[ "$EE_SITE_CACHE_OPTION" = "--wpsc" && "$EE_SITE_CURRENT_OPTION" != "WPSUBDIR WP SUPER CACHE" ]]; then # Update NGINX ee_mod_update_domain + else + ee_lib_error "Site already, $EE_SITE_UPDATE_OPTION $EE_SITE_CACHE_OPTION, exit status =" $? fi ee_mod_update_cache @@ -768,6 +772,8 @@ elif [ "$EE_FIRST" = "site" ]; then || [[ "$EE_SITE_CACHE_OPTION" = "--wpsc" && "$EE_SITE_CURRENT_OPTION" != "WPSUBDOMAIN WP SUPER CACHE" ]]; then # Update NGINX ee_mod_update_domain + else + ee_lib_error "Site already, $EE_SITE_UPDATE_OPTION $EE_SITE_CACHE_OPTION, exit status =" $? fi ee_mod_update_cache