Browse Source

Syntax Change For ee site delete

old-stable
Mitesh Shah 11 years ago
parent
commit
085817d2c1
  1. 10
      usr/local/sbin/easyengine

10
usr/local/sbin/easyengine

@ -2013,22 +2013,22 @@ then
then then
# Check SITENAME Is Empty Or Not # Check SITENAME Is Empty Or Not
SITENAMECHECK=$4 SITENAMECHECK=$3
EESITENAME EESITENAME
if [ "$3" = "db" ] if [ "$4" = "--db" ]
then then
# Remove Database # Remove Database
REMOVEDB REMOVEDB
elif [ "$3" = "files" ] elif [ "$4" = "--files" ]
then then
# Remove Webroot # Remove Webroot
REMOVEFILES REMOVEFILES
elif [ "$3" = "all" ] elif [ "$4" = "--all" ] || [ "$4" = "" ]
then then
# Remove All Database And Webroot # Remove All Database And Webroot
@ -2043,7 +2043,7 @@ then
# Take Nginx Configuration In Git Version Control # Take Nginx Configuration In Git Version Control
EEGITDIR=/etc/nginx EEGITDIR=/etc/nginx
EEGITMESSAGE="Delete Website with $3 Option: $DOMAIN" EEGITMESSAGE="Delete Website with $4 Option: $DOMAIN"
EEGITCOMMIT EEGITCOMMIT
fi fi

Loading…
Cancel
Save