Browse Source

update

testing
Gabriel Cossette 5 years ago
parent
commit
8b0653084b
  1. 11
      scripts/install

11
scripts/install

@ -168,8 +168,9 @@ done
#=================================================
ynh_script_progression --message="Installing WordPress plugins..." --weight=20
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"
ynh_exec_warn_less wget --no-verbose https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar --output-document/usr/local/bin/wp
chmod +x /usr/local/bin/wp
wpcli_alias="php$phpversion /usr/local/bin/wp --allow-root --path=$final_path"
$wpcli_alias plugin install authldap
$wpcli_alias plugin install http-authentication
@ -292,12 +293,6 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=3
ynh_systemd_action --service_name=nginx --action=reload
#=================================================
# REMOVE WP-CLI.PHAR
#=================================================
ynh_secure_remove --file=$final_path/wp-cli.phar
#=================================================
# SEND A README FOR THE ADMIN
#=================================================

Loading…
Cancel
Save