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
# 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

Loading…
Cancel
Save