mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-10 08:52:39 +08:00
Merge pull request #5181 from nextcloud/enh/noid/remove-richdocumentscode
nextcloud-entrypoint: remove richdocumentscode if installed
This commit is contained in:
commit
fb815dd5b4
1 changed files with 4 additions and 0 deletions
|
@ -597,6 +597,10 @@ if [ "$COLLABORA_ENABLED" = 'yes' ]; then
|
|||
COLLABORA_HOST="$NC_DOMAIN"
|
||||
fi
|
||||
set +x
|
||||
# Remove richdcoumentscode if it should be incorrectly installed
|
||||
if [ -d "/var/www/html/custom_apps/richdocumentscode" ]; then
|
||||
php /var/www/html/occ app:remove richdocumentscode
|
||||
fi
|
||||
if ! [ -d "/var/www/html/custom_apps/richdocuments" ]; then
|
||||
php /var/www/html/occ app:install richdocuments
|
||||
elif [ "$(php /var/www/html/occ config:app:get richdocuments enabled)" != "yes" ]; then
|
||||
|
|
Loading…
Reference in a new issue