Added version check for bash version gteq 4 (#292)
* Added version check for bash version gteq 4 * Added entry to CHANGELOG for bash 4.0 configure script dependency * Corrected changelog entry to right format * Fixed link in changelog entry * Remove uneeded new line.
This commit is contained in:
		
							parent
							
								
									572654a27b
								
							
						
					
					
						commit
						292d2dc639
					
				|  | @ -1,7 +1,7 @@ | ||||||
| # Vx.x.x (Pre-release) | # Vx.x.x (Pre-release) | ||||||
| 
 | 
 | ||||||
| ## Changes since v4.0.0 | ## Changes since v4.0.0 | ||||||
| 
 | - [#291][https://github.com/pusher/oauth2_proxy/pull/291] Added bash >= 4.0 dependency to configure script (@jmfrank63) | ||||||
| - [#227](https://github.com/pusher/oauth2_proxy/pull/227) Add Keycloak provider (@Ofinka) | - [#227](https://github.com/pusher/oauth2_proxy/pull/227) Add Keycloak provider (@Ofinka) | ||||||
| - [#259](https://github.com/pusher/oauth2_proxy/pull/259) Redirect to HTTPS (@jmickey) | - [#259](https://github.com/pusher/oauth2_proxy/pull/259) Redirect to HTTPS (@jmickey) | ||||||
| - [#273](https://github.com/pusher/oauth2_proxy/pull/273) Support Go 1.13 (@dio) | - [#273](https://github.com/pusher/oauth2_proxy/pull/273) Support Go 1.13 (@dio) | ||||||
|  |  | ||||||
|  | @ -5,6 +5,10 @@ GREEN='\033[0;32m' | ||||||
| BLUE='\033[0;34m' | BLUE='\033[0;34m' | ||||||
| NC='\033[0m' | NC='\033[0m' | ||||||
| 
 | 
 | ||||||
|  | if [ -z "${BASH_VERSINFO}" ] || [ -z "${BASH_VERSINFO[0]}" ] || [ ${BASH_VERSINFO[0]} -lt 4 ]; then  | ||||||
|  |   echo "This script requires Bash version >= 4"; exit 1;  | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| declare -A tools=() | declare -A tools=() | ||||||
| declare -A desired=() | declare -A desired=() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue