mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-09-16 19:46:34 +08:00
add comment for appstore connection check
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
c219497497
commit
4e4631ba80
1 changed files with 2 additions and 0 deletions
|
@ -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)"
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue