Skip to content

Commit e91fe8a

Browse files
author
Daniel Hansson
authored
load the curl again if network fails to get all the variables in place (#210)
1 parent 40bcb54 commit e91fe8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nextcloud-startup-script.sh

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ else
5555
} > /etc/network/interfaces.new
5656
mv /etc/network/interfaces.new /etc/network/interfaces
5757
service networking restart
58+
# shellcheck source=lib.sh
59+
CHECK_CURRENT_REPO=1 . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
60+
unset CHECK_CURRENT_REPO
5861
fi
5962

6063
# Check network

0 commit comments

Comments
 (0)