Updating to 1.17.1

This commit is contained in:
Alex Epstein 2017-08-01 09:48:14 -04:00
parent 054046c4e2
commit ee8a50aff2
20 changed files with 30 additions and 20 deletions

View File

@ -307,7 +307,7 @@ There is an AUR package for bash-snippets located [here](https://aur.archlinux.o
* Then cd into the cloned directory: ```cd Bash-Snippets``` * Then cd into the cloned directory: ```cd Bash-Snippets```
* Git checkout to the latest stable release ```git checkout v1.17.0``` * Git checkout to the latest stable release ```git checkout v1.17.1```
* Run the guided install script with * Run the guided install script with
```bash ```bash

View File

@ -2,6 +2,15 @@
# Bash-Snippets Changelog # Bash-Snippets Changelog
## Version 1.17.1
</div>
### Bugfixes
* Fixing grabbing the prefix in homebrew install
<div align="center">
## Version 1.17.0 ## Version 1.17.0
</div> </div>

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
## rest of these variables are search flags ## rest of these variables are search flags
search="0" search="0"

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
private="0" ## state of private flag private="0" ## state of private flag
all="0" ## state of all flag all="0" ## state of all flag

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
state="" state=""
configuredClient="" configuredClient=""

View File

@ -3,7 +3,7 @@
base="" base=""
exchangeTo="" exchangeTo=""
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one ## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -3,7 +3,7 @@
base="" base=""
exchangeTo="" exchangeTo=""
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK currencyCodes=(AUD BGN BRL CAD CHF CNY CZK DKK
EUR GBP HKD HRK HUF IDR ILS INR EUR GBP HKD HRK HUF IDR ILS INR

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
directionsFlag="0" directionsFlag="0"
directionsMapFlag="0" directionsMapFlag="0"

View File

@ -4,7 +4,7 @@
# Author: Jake Meyer # Author: Jake Meyer
# Github: https://github.com/jakewmeyer # Github: https://github.com/jakewmeyer
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one ## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
declare -a tools=(cheat cloudup crypt cryptocurrency currency geo movies newton qrify short siteciphers stocks taste todo weather ytview) declare -a tools=(cheat cloudup crypt cryptocurrency currency geo movies newton qrify short siteciphers stocks taste todo weather ytview)
declare -a extraLinuxTools=(maps) declare -a extraLinuxTools=(maps)
declare -a extraDarwinTools declare -a extraDarwinTools
@ -74,7 +74,8 @@ copyManpage()
response=$( echo "$@" | grep -Eo "\-\-prefix") response=$( echo "$@" | grep -Eo "\-\-prefix")
if [[ $response == "--prefix" ]]; then if [[ $response == "--prefix" ]]; then
prefix=$(echo -n "$@" | sed -e 's/--prefix=\(.*\) .*/\1/' | grep -Eo "^[a-z/A-Z=]*") prefix=$(echo -n "$@" | sed -e 's/--prefix=\(.*\) .*/\1/' | grep -Eo "^[a-z/A-Z= -- .0-9]*")
echo $prefix
mkdir -p $prefix/bin $prefix/share/man/man1 mkdir -p $prefix/bin $prefix/share/man/man1
if [[ $2 == "all" ]];then if [[ $2 == "all" ]];then
for tool in "${tools[@]}"; do for tool in "${tools[@]}"; do

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
configuredPython="" configuredPython=""
detail=false detail=false

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
flagCount="0" flagCount="0"
declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log) declare -a simpleOperations=(simplify factor derive integrate zeroes roots tangent area cos sin tan arccos arcsin arctan abs log)

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Linyos Torovoltos github.com/linyostorovovoltos # Author: Linyos Torovoltos github.com/linyostorovovoltos
currentVersion="1.17.0" currentVersion="1.17.1"
multiline="0" # flag that indicates multiline option multiline="0" # flag that indicates multiline option

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
configuredPython="" configuredPython=""

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DELAY=1 DELAY=1
configuredClient="" configuredClient=""
currentVersion="1.17.0" currentVersion="1.17.1"
checkOpenSSL() checkOpenSSL()
{ {

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
configuredPython="" configuredPython=""

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
configuredPython="" configuredPython=""
source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable source ~/.bash_profile 2> /dev/null ## allows grabbing enviornment variable

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
flag="" flag=""
currentVersion="1.17.0" currentVersion="1.17.1"
configuredClient="" configuredClient=""
## This function determines which http get tool the system has installed and returns an error if there isnt one ## This function determines which http get tool the system has installed and returns an error if there isnt one

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Author: Alexander Epstein https://github.com/alexanderepstein # Author: Alexander Epstein https://github.com/alexanderepstein
currentVersion="1.17.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.17.1" #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}" LANG="${LANG:-en}"
locale=$(echo $LANG | cut -c1-2) locale=$(echo $LANG | cut -c1-2)
configuredClient="" configuredClient=""

View File

@ -6,7 +6,7 @@ if [[ -d $HOME/.cache/ytview ]]; then rm -rf $HOME/.cache/ytview/; fi
player="" player=""
configuredClient="" configuredClient=""
currentVersion="1.17.0" currentVersion="1.17.1"
flag="" flag=""
## This function determines which http get tool the system has installed and returns an error if there isnt one ## This function determines which http get tool the system has installed and returns an error if there isnt one