Browse Source

ynh_exec_warn_less wget

pull/111/head
Kay0u 5 years ago
parent
commit
d82aef418e
No known key found for this signature in database GPG Key ID: AAFEEB16CFA2AE2D
  1. 2
      scripts/upgrade

2
scripts/upgrade

@ -137,7 +137,7 @@ if [ -z "$phpversion" ]; then
fi fi
# Replace wp-fail2ban by wp-fail2ban-redux # Replace wp-fail2ban by wp-fail2ban-redux
wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O $final_path/wp-cli.phar
ynh_exec_warn_less wget --no-verbose https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output-document=$final_path/wp-cli.phar
wpcli_alias="php$phpversion $final_path/wp-cli.phar --allow-root --path=$final_path" wpcli_alias="php$phpversion $final_path/wp-cli.phar --allow-root --path=$final_path"
if [ $multisite -eq 1 ]; then if [ $multisite -eq 1 ]; then
plugin_network="--network" plugin_network="--network"

Loading…
Cancel
Save