Skip to content

Commit

Permalink
add comment for appstore connection check
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen committed Dec 9, 2024
1 parent c219497 commit 4e4631b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
fi

if [ "$installed_version" != "0.0.0.0" ]; then
# Check connection to appstore start # Do not remove or change this line!
while true; do
echo -e "Checking connection to appstore"
CURL_STATUS="$(curl -LI "https://apps.nextcloud.com/" -o /dev/null -w '%{http_code}\n' -s)"
Expand All @@ -167,6 +168,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
sleep 5
fi
done
# Check connection to appstore end # Do not remove or change this line!

run_upgrade_if_needed_due_to_app_update

Expand Down

0 comments on commit 4e4631b

Please sign in to comment.