diff --git a/README.md b/README.md index 4986a56..79f29db 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,17 @@ Provides information about a certain stock symbol + +## Geo + Provides date for wan, lan, router, dns, mac, and ip geolocation + + +
+ + + +
+ ## Currency Converts currency based on realtime exchange rates @@ -147,7 +158,7 @@ Gets the link that is being masked by a url shortner * Then cd into the cloned directory: ```cd Bash-Snippets``` -* Git checkout to the latest stable release ```git checkout v1.5.0``` +* Git checkout to the latest stable release ```git checkout v1.6.0``` * Run the guided install script with ```bash diff --git a/changelog.md b/changelog.md index b2b7ca3..eb3d25c 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,15 @@ # Bash-Snippets Changelog +## Version 1.6.0 + + + +### Changes +* Added geo component + +
+ ## Version 1.5.0
diff --git a/crypt/crypt b/crypt/crypt index e645dd7..fd9a556 100755 --- a/crypt/crypt +++ b/crypt/crypt @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" ## uses openssl aes 256 cbc encryption to encrypt file salting it with password designated by user encrypt() diff --git a/currency/currency b/currency/currency index 4b4cd30..d525f52 100755 --- a/currency/currency +++ b/currency/currency @@ -3,7 +3,7 @@ base="" exchangeTo="" -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/geo/geo b/geo/geo index daf3bb5..384ce5d 100755 --- a/geo/geo +++ b/geo/geo @@ -6,7 +6,7 @@ # Github: https://github.com/jakewmeyer # -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one @@ -207,6 +207,9 @@ if [ $# -eq 0 ]; then usage exit 0 -elif [[ $1 == "update" ]];then getConfiguredClient && checkInternet && update || exit 1 -elif [[ $1 == "help" ]];then usage +elif [[ $1 == "update" ]];then + getConfiguredClient && checkInternet && update || exit 1 +elif [[ $1 == "help" ]];then + usage + exit 0 fi diff --git a/geo/geo.png b/geo/geo.png new file mode 100644 index 0000000..a8265e0 Binary files /dev/null and b/geo/geo.png differ diff --git a/install.sh b/install.sh index 0a83c77..ae40808 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" if [[ $# == 0 ]]; then diff --git a/movies/movies b/movies/movies index a18243f..a96f0a1 100755 --- a/movies/movies +++ b/movies/movies @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/short/short b/short/short index 88da7ef..3171dcf 100755 --- a/short/short +++ b/short/short @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/stocks/stocks b/stocks/stocks index 5ed4689..5abcee5 100755 --- a/stocks/stocks +++ b/stocks/stocks @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" ## This function determines which http get tool the system has installed and returns an error if there isnt one diff --git a/taste/taste b/taste/taste index e4243db..6488a25 100755 --- a/taste/taste +++ b/taste/taste @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" +currentVersion="1.6.0" configuredClient="" source ~/.bashrc ## allows grabbing enviornment variable apiKey=$TASTE_API_KEY diff --git a/weather/weather b/weather/weather index 7889a38..29b3aca 100755 --- a/weather/weather +++ b/weather/weather @@ -1,7 +1,7 @@ #!/bin/bash # Author: Alexander Epstein https://github.com/alexanderepstein -currentVersion="1.5.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4 +currentVersion="1.6.0" #This version variable should not have a v but should contain all other characters ex Github release tag is v1.2.4 currentVersion is 1.2.4 LANG="${LANG:-en}" locale=$(echo $LANG | cut -c1-2) configuredClient=""