diff --git a/ee/cli/plugins/site_functions.py b/ee/cli/plugins/site_functions.py index 889d3df3..680c5263 100644 --- a/ee/cli/plugins/site_functions.py +++ b/ee/cli/plugins/site_functions.py @@ -423,8 +423,8 @@ 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/{0}/" - "wp-cli.phar" + "releases/download/v{0}/" + "wp-cli-{0}.phar" .format(EEVariables.ee_wp_cli), "/usr/bin/wp", "WP-CLI"]] return(stack.install(apt_packages=apt_packages, packages=packages,