diff --git a/ee/cli/plugins/clean.py b/ee/cli/plugins/clean.py index 9718fc3b..28c5a5ab 100644 --- a/ee/cli/plugins/clean.py +++ b/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") diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 4de87e68..889d3df3 100644 --- a/ee/cli/plugins/site_functions.py +++ b/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))