Update debian-config (#186)

Changed Line 26 to add connection/retry timeouts to stop the connection from hanging and allow following code to be executed
This commit is contained in:
brutus-downunder
2023-02-04 00:37:13 +13:00
committed by GitHub
parent eebfc58c14
commit fb36fe4f95

View File

@@ -23,7 +23,7 @@ fi
#
# check for internet connection to install dependencies
#
wget -q --spider http://github.com
wget -q -t 1 --timeout=5 --spider http://github.com
if [[ $? -ne 0 ]]; then
read -n 1 -s -p "Warning: Configuration cannot work properly without a working internet connection. \
Press CTRL C to stop or any key to ignore and continue."