Skip to content

Commit 902a1ea

Browse files
author
shital.rtcamp
committed
updated site_function.py
1 parent 9cd8fb6 commit 902a1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ee/cli/plugins/site_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ def site_package_check(self, stype):
423423
Log.debug(self, "Setting packages variable for WP-CLI")
424424
if not EEShellExec.cmd_exec(self, "which wp"):
425425
packages = packages + [["https://github.com/wp-cli/wp-cli/"
426-
"releases/download/{0}/"
427-
"wp-cli.phar"
426+
"releases/download/v{0}/"
427+
"wp-cli-{0}.phar"
428428
.format(EEVariables.ee_wp_cli),
429429
"/usr/bin/wp", "WP-CLI"]]
430430
return(stack.install(apt_packages=apt_packages, packages=packages,

0 commit comments

Comments
 (0)