From f71506a1c9166092161d7d1185b8520928aba69f Mon Sep 17 00:00:00 2001 From: Zhao Guangyu <62810902+ZhaoGY-N@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:55:13 +0800 Subject: [PATCH] Update Containers/nextcloud/entrypoint.sh Add comment for the apps.json Co-authored-by: Simon L. Signed-off-by: Zhao Guangyu <62810902+ZhaoGY-N@users.noreply.github.com> --- Containers/nextcloud/entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Containers/nextcloud/entrypoint.sh b/Containers/nextcloud/entrypoint.sh index 7b3dec5a..e3377995 100644 --- a/Containers/nextcloud/entrypoint.sh +++ b/Containers/nextcloud/entrypoint.sh @@ -150,6 +150,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then APPSTORE_URL="$(grep appstoreurl /var/www/html/config/config.php | grep -oP 'https://.*v[0-9]+')" set +x fi + # Default appstoreurl parameter in config.php defaults to 'https://apps.nextcloud.com/api/v1' so we check for the apps.json file stored in there CURL_STATUS="$(curl -LI "$APPSTORE_URL"/apps.json -o /dev/null -w '%{http_code}\n' -s)" if [[ "$CURL_STATUS" = "200" ]] then