diff --git a/cheat/cheat b/cheat/cheat index d889aa0..dd6bf0f 100755 --- a/cheat/cheat +++ b/cheat/cheat @@ -40,7 +40,7 @@ httpGet() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/cloudup/cloudup b/cloudup/cloudup index d4f0bc8..f73ea02 100755 --- a/cloudup/cloudup +++ b/cloudup/cloudup @@ -37,7 +37,7 @@ httpGet() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/cryptocurrency/cryptocurrency b/cryptocurrency/cryptocurrency index d667436..2025ef3 100755 --- a/cryptocurrency/cryptocurrency +++ b/cryptocurrency/cryptocurrency @@ -158,7 +158,7 @@ checkAmount() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } ## Grabs the exchange rate and does the math for converting the currency diff --git a/currency/currency b/currency/currency index 1946d45..0c3e1b7 100755 --- a/currency/currency +++ b/currency/currency @@ -130,7 +130,7 @@ checkAmount() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } ## Grabs the exchange rate and does the math for converting the currency diff --git a/extras/Linux/maps/maps b/extras/Linux/maps/maps index 45c8467..a89ac4c 100755 --- a/extras/Linux/maps/maps +++ b/extras/Linux/maps/maps @@ -40,7 +40,7 @@ httpGet() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/geo/geo b/geo/geo index 5476556..89df6cd 100755 --- a/geo/geo +++ b/geo/geo @@ -173,7 +173,7 @@ update() { } checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } # Option parsing "controller" diff --git a/movies/movies b/movies/movies index f954f2b..a500be9 100755 --- a/movies/movies +++ b/movies/movies @@ -58,7 +58,7 @@ fi checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } ## This function grabs information about a movie and using python parses the diff --git a/newton/newton b/newton/newton index b9c79c4..5e4c638 100755 --- a/newton/newton +++ b/newton/newton @@ -37,7 +37,7 @@ httpGet() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } diff --git a/qrify/qrify b/qrify/qrify index b2dc745..86f0fe8 100755 --- a/qrify/qrify +++ b/qrify/qrify @@ -91,7 +91,7 @@ makeMultiLineQr() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } usage() diff --git a/short/short b/short/short index 88dfaa7..74ea342 100755 --- a/short/short +++ b/short/short @@ -59,7 +59,7 @@ fi checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/siteciphers/siteciphers b/siteciphers/siteciphers index 1368c72..77d09ea 100755 --- a/siteciphers/siteciphers +++ b/siteciphers/siteciphers @@ -99,7 +99,7 @@ EOF checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } checkCiphers() diff --git a/stocks/stocks b/stocks/stocks index 4c13921..74b16b0 100755 --- a/stocks/stocks +++ b/stocks/stocks @@ -57,7 +57,7 @@ fi checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } ## This function grabs information about a stock and using python parses the diff --git a/taste/taste b/taste/taste index d1880be..428e988 100755 --- a/taste/taste +++ b/taste/taste @@ -61,7 +61,7 @@ fi checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/todo/todo b/todo/todo index cba7259..8056bdb 100755 --- a/todo/todo +++ b/todo/todo @@ -83,7 +83,7 @@ addTask() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } removeTask() diff --git a/weather/weather b/weather/weather index e78ce57..ac7b48f 100755 --- a/weather/weather +++ b/weather/weather @@ -56,7 +56,7 @@ getLocationWeather() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update() diff --git a/ytview/ytview b/ytview/ytview index af34f0d..9f6c717 100755 --- a/ytview/ytview +++ b/ytview/ytview @@ -39,7 +39,7 @@ httpGet() checkInternet() { - httpGet google.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request + httpGet github.com > /dev/null 2>&1 || { echo "Error: no active internet connection" >&2; return 1; } # query google with a get request } update()