File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def default(self):
5050
5151 @expose (hide = True )
5252 def clean_memcache (self ):
53- """This function Clears memcache"""
53+ """This function Clears memcache """
5454 try :
5555 if (EEAptGet .is_installed (self , "memcached" )):
5656 EEService .restart_service (self , "memcached" )
Original file line number Diff line number Diff line change @@ -423,9 +423,10 @@ 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/v0.17.1/"
427- "wp-cli.phar" , "/usr/bin/wp" ,
428- "WP-CLI" ]]
426+ "releases/download/{0}/"
427+ "wp-cli.phar"
428+ .format (EEVariables .ee_wp_cli ),
429+ "/usr/bin/wp" , "WP-CLI" ]]
429430 return (stack .install (apt_packages = apt_packages , packages = packages ,
430431 disp_msg = False ))
431432
You can’t perform that action at this time.
0 commit comments