mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-04 13:01:51 +08:00
fix incorrect removal of OO
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
2af13efe63
commit
8889e92a64
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ if [ "$ONLYOFFICE_ENABLED" = 'yes' ]; then
|
|||
php /var/www/html/occ config:app:set onlyoffice DocumentServerUrl --value="https://$NC_DOMAIN/onlyoffice"
|
||||
php /var/www/html/occ config:system:set allow_local_remote_servers --type=bool --value=true
|
||||
else
|
||||
if [ -d "/var/www/html/custom_apps/onlyoffice" ]; then
|
||||
if [ -d "/var/www/html/custom_apps/onlyoffice" ] && [ -n "$ONLYOFFICE_SECRET" ] && [ "$(php /var/www/html/occ config:system:get onlyoffice jwt_secret)" = "$ONLYOFFICE_SECRET" ]; then
|
||||
php /var/www/html/occ app:remove onlyoffice
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue