Skip to content

Commit

Permalink
Merge pull request #5181 from nextcloud/enh/noid/remove-richdocuments…
Browse files Browse the repository at this point in the history
…code

nextcloud-entrypoint: remove richdocumentscode if installed
  • Loading branch information
szaimen authored Sep 4, 2024
2 parents c7cd473 + 91faf2b commit fb815dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb815dd

Please sign in to comment.