mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00: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"
|
COLLABORA_HOST="$NC_DOMAIN"
|
||||||
fi
|
fi
|
||||||
set +x
|
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
|
if ! [ -d "/var/www/html/custom_apps/richdocuments" ]; then
|
||||||
php /var/www/html/occ app:install richdocuments
|
php /var/www/html/occ app:install richdocuments
|
||||||
elif [ "$(php /var/www/html/occ config:app:get richdocuments enabled)" != "yes" ]; then
|
elif [ "$(php /var/www/html/occ config:app:get richdocuments enabled)" != "yes" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue