mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00: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
|
fi
|
||||||
|
|
||||||
if [ "$installed_version" != "0.0.0.0" ]; then
|
if [ "$installed_version" != "0.0.0.0" ]; then
|
||||||
|
# Check connection to appstore start # Do not remove or change this line!
|
||||||
while true; do
|
while true; do
|
||||||
echo -e "Checking connection to appstore"
|
echo -e "Checking connection to appstore"
|
||||||
CURL_STATUS="$(curl -LI "https://apps.nextcloud.com/" -o /dev/null -w '%{http_code}\n' -s)"
|
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
|
sleep 5
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
# Check connection to appstore end # Do not remove or change this line!
|
||||||
|
|
||||||
run_upgrade_if_needed_due_to_app_update
|
run_upgrade_if_needed_due_to_app_update
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue