From f1af19c65cdbb507397480f29cb35143d497995c Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 20 Oct 2017 15:27:47 +0200 Subject: [PATCH] Disable but not remove --- scripts/install | 2 ++ scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index e756737..48e6ff6 100644 --- a/scripts/install +++ b/scripts/install @@ -165,6 +165,7 @@ wget -nv https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.ph wpcli_alias="php $final_path/wp-cli.phar --allow-root --path=$final_path" $wpcli_alias plugin install simple-ldap-login +$wpcli_alias plugin install http-authentication $wpcli_alias plugin install companion-auto-update #================================================= @@ -208,6 +209,7 @@ fi #================================================= $wpcli_alias plugin activate simple-ldap-login +# Do not activate http-authentication, this plugin is sometimes unstable $wpcli_alias plugin activate companion-auto-update #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d497768..41784f5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -153,8 +153,8 @@ update_plugin simple-ldap-login update_plugin companion-auto-update $wpcli_alias plugin activate companion-auto-update -# Remove broken plugin http-authentication -$wpcli_alias plugin is-installed http-authentication && $wpcli_alias plugin delete http-authentication +# Disable broken plugin http-authentication +$wpcli_alias plugin is-installed http-authentication && $wpcli_alias plugin deactivate http-authentication #================================================= # STORE THE CHECKSUM OF THE CONFIG FILE