|
|
@ -24,6 +24,12 @@ multisite=$(ynh_app_setting_get $app multisite) |
|
|
final_path=$(ynh_app_setting_get $app final_path) |
|
|
final_path=$(ynh_app_setting_get $app final_path) |
|
|
db_name=$(ynh_app_setting_get $app db_name) |
|
|
db_name=$(ynh_app_setting_get $app db_name) |
|
|
|
|
|
|
|
|
|
|
|
#================================================= |
|
|
|
|
|
# CHECK VERSION |
|
|
|
|
|
#================================================= |
|
|
|
|
|
|
|
|
|
|
|
ynh_abort_if_up_to_date |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# ENSURE DOWNWARD COMPATIBILITY |
|
|
# ENSURE DOWNWARD COMPATIBILITY |
|
|
#================================================= |
|
|
#================================================= |
|
|
@ -152,6 +158,7 @@ update_plugin () { |
|
|
( $wpcli_alias plugin is-installed $1 && $wpcli_alias plugin update $1 ) || $wpcli_alias plugin install $1 |
|
|
( $wpcli_alias plugin is-installed $1 && $wpcli_alias plugin update $1 ) || $wpcli_alias plugin install $1 |
|
|
} |
|
|
} |
|
|
update_plugin simple-ldap-login |
|
|
update_plugin simple-ldap-login |
|
|
|
|
|
$wpcli_alias plugin activate simple-ldap-login $plugin_network |
|
|
update_plugin companion-auto-update |
|
|
update_plugin companion-auto-update |
|
|
$wpcli_alias plugin activate companion-auto-update $plugin_network |
|
|
$wpcli_alias plugin activate companion-auto-update $plugin_network |
|
|
update_plugin wp-fail2ban |
|
|
update_plugin wp-fail2ban |
|
|
|