Browse Source

fixed bugs related to hhvm update

bugfixes
harshadyeola 10 years ago
parent
commit
44251ad883
  1. 1
      config/bash_completion.d/ee_auto.rc
  2. 4
      ee/cli/plugins/site.py

1
config/bash_completion.d/ee_auto.rc

@ -239,7 +239,6 @@ _ee_complete()
elif [ ${COMP_WORDS[2]} == "reset" ]; then
retlist="--access --nginx --php --mysql --fpm --wp --slow-log-db"
elif [ ${COMP_WORDS[2]} == "mail" ]; then
retlist="--access --nginx --php --mysql --fpm --wp --to="

4
ee/cli/plugins/site.py

@ -685,6 +685,10 @@ class EESiteUpdateController(CementBaseController):
Log.info(self, "Password Unchanged.")
return 0
if stype == "html" and self.app.pargs.hhvm:
Log.info(self, Log.FAIL + "Can not update HTML site to HHVM")
return 1
if ((stype == 'php' and oldsitetype != 'html') or
(stype == 'mysql' and oldsitetype not in ['html', 'php']) or
(stype == 'wp' and oldsitetype not in ['html', 'php', 'mysql',

Loading…
Cancel
Save