mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Fix ldap & ynh_abort_if_up_to_date
This commit is contained in:
parent
a58d03284d
commit
ae16a2d9dc
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,12 @@ multisite=$(ynh_app_setting_get $app multisite)
|
|||
final_path=$(ynh_app_setting_get $app final_path)
|
||||
db_name=$(ynh_app_setting_get $app db_name)
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
||||
ynh_abort_if_up_to_date
|
||||
|
||||
#=================================================
|
||||
# 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
|
||||
}
|
||||
update_plugin simple-ldap-login
|
||||
$wpcli_alias plugin activate simple-ldap-login $plugin_network
|
||||
update_plugin companion-auto-update
|
||||
$wpcli_alias plugin activate companion-auto-update $plugin_network
|
||||
update_plugin wp-fail2ban
|
||||
|
|
Loading…
Add table
Reference in a new issue