Browse Source

Merge branch 'python' of github.com:rtCamp/easyengine into python

bugfixes
harshadyeola 10 years ago
parent
commit
fe5355b924
  1. 2
      ee/cli/plugins/clean.py
  2. 7
      ee/cli/plugins/site_functions.py

2
ee/cli/plugins/clean.py

@ -50,7 +50,7 @@ class EECleanController(CementBaseController):
@expose(hide=True)
def clean_memcache(self):
"""This function Clears memcache"""
"""This function Clears memcache """
try:
if(EEAptGet.is_installed(self, "memcached")):
EEService.restart_service(self, "memcached")

7
ee/cli/plugins/site_functions.py

@ -423,9 +423,10 @@ def site_package_check(self, stype):
Log.debug(self, "Setting packages variable for WP-CLI")
if not EEShellExec.cmd_exec(self, "which wp"):
packages = packages + [["https://github.com/wp-cli/wp-cli/"
"releases/download/v0.17.1/"
"wp-cli.phar", "/usr/bin/wp",
"WP-CLI"]]
"releases/download/{0}/"
"wp-cli.phar"
.format(EEVariables.ee_wp_cli),
"/usr/bin/wp", "WP-CLI"]]
return(stack.install(apt_packages=apt_packages, packages=packages,
disp_msg=False))

Loading…
Cancel
Save