From c60ba9a1f22a0f9950acea667d7304e2c60222c6 Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Tue, 1 Aug 2017 23:31:17 -0400 Subject: [PATCH] Changing comment in check internet function --- cheat/cheat | 2 +- cloudup/cloudup | 2 +- crypt/crypt | 2 +- cryptocurrency/cryptocurrency | 2 +- currency/currency | 2 +- extras/Linux/maps/maps | 2 +- geo/geo | 2 +- movies/movies | 2 +- newton/newton | 2 +- qrify/qrify | 2 +- short/short | 2 +- siteciphers/siteciphers | 2 +- stocks/stocks | 2 +- taste/taste | 2 +- todo/todo | 2 +- weather/weather | 2 +- ytview/ytview | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/cheat/cheat b/cheat/cheat index dd6bf0f..3b01bb4 100755 --- a/cheat/cheat +++ b/cheat/cheat @@ -40,7 +40,7 @@ httpGet() checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/cloudup/cloudup b/cloudup/cloudup index f73ea02..6aec150 100755 --- a/cloudup/cloudup +++ b/cloudup/cloudup @@ -37,7 +37,7 @@ httpGet() checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/crypt/crypt b/crypt/crypt index ff41832..8111c06 100755 --- a/crypt/crypt +++ b/crypt/crypt @@ -17,7 +17,7 @@ checkOpenSSL() checkInternet() { - httpGet github.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 github with a get request } ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/cryptocurrency/cryptocurrency b/cryptocurrency/cryptocurrency index 2025ef3..fba3268 100755 --- a/cryptocurrency/cryptocurrency +++ b/cryptocurrency/cryptocurrency @@ -158,7 +158,7 @@ checkAmount() checkInternet() { - httpGet github.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 github 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 0c3e1b7..e108512 100755 --- a/currency/currency +++ b/currency/currency @@ -130,7 +130,7 @@ checkAmount() checkInternet() { - httpGet github.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 github 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 a89ac4c..33a3545 100755 --- a/extras/Linux/maps/maps +++ b/extras/Linux/maps/maps @@ -40,7 +40,7 @@ httpGet() checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/geo/geo b/geo/geo index 89df6cd..c713456 100755 --- a/geo/geo +++ b/geo/geo @@ -173,7 +173,7 @@ update() { } checkInternet() { - httpGet github.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 github with a get request } # Option parsing "controller" diff --git a/movies/movies b/movies/movies index a500be9..b068e30 100755 --- a/movies/movies +++ b/movies/movies @@ -58,7 +58,7 @@ fi checkInternet() { - httpGet github.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 github 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 5e4c638..275621b 100755 --- a/newton/newton +++ b/newton/newton @@ -37,7 +37,7 @@ httpGet() checkInternet() { - httpGet github.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 github with a get request } diff --git a/qrify/qrify b/qrify/qrify index 86f0fe8..54fe7ab 100755 --- a/qrify/qrify +++ b/qrify/qrify @@ -91,7 +91,7 @@ makeMultiLineQr() checkInternet() { - httpGet github.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 github with a get request } usage() diff --git a/short/short b/short/short index 74ea342..bf3395b 100755 --- a/short/short +++ b/short/short @@ -59,7 +59,7 @@ fi checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/siteciphers/siteciphers b/siteciphers/siteciphers index 77d09ea..d70bce1 100755 --- a/siteciphers/siteciphers +++ b/siteciphers/siteciphers @@ -99,7 +99,7 @@ EOF checkInternet() { - httpGet github.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 github with a get request } checkCiphers() diff --git a/stocks/stocks b/stocks/stocks index 74b16b0..0eb2915 100755 --- a/stocks/stocks +++ b/stocks/stocks @@ -57,7 +57,7 @@ fi checkInternet() { - httpGet github.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 github 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 428e988..9efb2d9 100755 --- a/taste/taste +++ b/taste/taste @@ -61,7 +61,7 @@ fi checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/todo/todo b/todo/todo index 8056bdb..3e12627 100755 --- a/todo/todo +++ b/todo/todo @@ -83,7 +83,7 @@ addTask() checkInternet() { - httpGet github.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 github with a get request } removeTask() diff --git a/weather/weather b/weather/weather index ac7b48f..12623cd 100755 --- a/weather/weather +++ b/weather/weather @@ -56,7 +56,7 @@ getLocationWeather() checkInternet() { - httpGet github.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 github with a get request } update() diff --git a/ytview/ytview b/ytview/ytview index 9f6c717..bb99640 100755 --- a/ytview/ytview +++ b/ytview/ytview @@ -39,7 +39,7 @@ httpGet() checkInternet() { - httpGet github.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 github with a get request } update()