mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Disable but not remove
This commit is contained in:
parent
052a607ce3
commit
f1af19c65c
2 changed files with 4 additions and 2 deletions
|
@ -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="php $final_path/wp-cli.phar --allow-root --path=$final_path"
|
||||||
|
|
||||||
$wpcli_alias plugin install simple-ldap-login
|
$wpcli_alias plugin install simple-ldap-login
|
||||||
|
$wpcli_alias plugin install http-authentication
|
||||||
$wpcli_alias plugin install companion-auto-update
|
$wpcli_alias plugin install companion-auto-update
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -208,6 +209,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
$wpcli_alias plugin activate simple-ldap-login
|
$wpcli_alias plugin activate simple-ldap-login
|
||||||
|
# Do not activate http-authentication, this plugin is sometimes unstable
|
||||||
$wpcli_alias plugin activate companion-auto-update
|
$wpcli_alias plugin activate companion-auto-update
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -153,8 +153,8 @@ update_plugin simple-ldap-login
|
||||||
update_plugin companion-auto-update
|
update_plugin companion-auto-update
|
||||||
$wpcli_alias plugin activate companion-auto-update
|
$wpcli_alias plugin activate companion-auto-update
|
||||||
|
|
||||||
# Remove broken plugin http-authentication
|
# Disable broken plugin http-authentication
|
||||||
$wpcli_alias plugin is-installed http-authentication && $wpcli_alias plugin delete http-authentication
|
$wpcli_alias plugin is-installed http-authentication && $wpcli_alias plugin deactivate http-authentication
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STORE THE CHECKSUM OF THE CONFIG FILE
|
# STORE THE CHECKSUM OF THE CONFIG FILE
|
||||||
|
|
Loading…
Add table
Reference in a new issue