Browse Source

wp core download failed issue handled

bugfixes
harshadyeola 10 years ago
parent
commit
5ebe2cdb47
  1. 3
      ee/cli/plugins/site_functions.py

3
ee/cli/plugins/site_functions.py

@ -156,7 +156,8 @@ def setupwordpress(self, data):
Log.info(self, "Downloading Wordpress \t\t", end='')
EEFileUtils.chdir(self, '{0}/htdocs/'.format(ee_site_webroot))
EEShellExec.cmd_exec(self, "wp --allow-root core download")
EEShellExec.cmd_exec(self, "wp --allow-root core download") or
Log.error("Unable to download wordpress core")
Log.info(self, "[" + Log.ENDC + "Done" + Log.OKBLUE + "]")
if not (data['ee_db_name'] and data['ee_db_user'] and data['ee_db_pass']):

Loading…
Cancel
Save