From 085817d2c17759b3630b2f199eb751e713ee8a4a Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 3 Jan 2014 16:16:09 +0530 Subject: [PATCH] Syntax Change For ee site delete --- usr/local/sbin/easyengine | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index 5f31e2e5..9e1c45b3 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -2013,22 +2013,22 @@ then then # Check SITENAME Is Empty Or Not - SITENAMECHECK=$4 + SITENAMECHECK=$3 EESITENAME - if [ "$3" = "db" ] + if [ "$4" = "--db" ] then # Remove Database REMOVEDB - elif [ "$3" = "files" ] + elif [ "$4" = "--files" ] then # Remove Webroot REMOVEFILES - elif [ "$3" = "all" ] + elif [ "$4" = "--all" ] || [ "$4" = "" ] then # Remove All Database And Webroot @@ -2043,7 +2043,7 @@ then # Take Nginx Configuration In Git Version Control EEGITDIR=/etc/nginx - EEGITMESSAGE="Delete Website with $3 Option: $DOMAIN" + EEGITMESSAGE="Delete Website with $4 Option: $DOMAIN" EEGITCOMMIT fi