mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Update distro compatibility list and remove Debian 8 support (#654)
This commit is contained in:
		| @@ -117,13 +117,12 @@ The script supports these OS and architectures: | ||||
| | --------------- | ---- | ----- | ----- | ----- | | ||||
| | Amazon Linux 2  | ❔   | ✅    | ❔    | ❔    | | ||||
| | Arch Linux      | ❔   | ✅    | ❔    | ✅    | | ||||
| | CentOS 7        | ❔   | ✅    | ❌    | ✅    | | ||||
| | CentOS 8        | ❌   | ✅    | ❔    | ❔    | | ||||
| | Debian 8        | ✅   | ✅    | ❌    | ❌    | | ||||
| | Debian >= 9     | ❌   | ✅    | ✅    | ✅    | | ||||
| | CentOS 7        | ✅   | ✅    | ✅    | ✅    | | ||||
| | CentOS 8        | ❌   | ✅    | ❌    | ✅    | | ||||
| | Debian >= 9     | ✅   | ✅    | ✅    | ✅    | | ||||
| | Fedora >= 27    | ❔   | ✅    | ❔    | ❔    | | ||||
| | Ubuntu 16.04    | ✅   | ✅    | ❌    | ❌    | | ||||
| | Ubuntu >= 18.04 | ❌   | ✅    | ✅    | ✅    | | ||||
| | Ubuntu >= 18.04 | ✅   | ✅    | ✅    | ✅    | | ||||
|  | ||||
| To be noted: | ||||
|  | ||||
|   | ||||
| @@ -22,10 +22,10 @@ function checkOS() { | ||||
| 		source /etc/os-release | ||||
|  | ||||
| 		if [[ $ID == "debian" || $ID == "raspbian" ]]; then | ||||
| 			if [[ $VERSION_ID -lt 8 ]]; then | ||||
| 			if [[ $VERSION_ID -lt 9 ]]; then | ||||
| 				echo "⚠️ Your version of Debian is not supported." | ||||
| 				echo "" | ||||
| 				echo "However, if you're using Debian >= 8 or unstable/testing then you can continue, at your own risk." | ||||
| 				echo "However, if you're using Debian >= 9 or unstable/testing then you can continue, at your own risk." | ||||
| 				echo "" | ||||
| 				until [[ $CONTINUE =~ (y|n) ]]; do | ||||
| 					read -rp "Continue? [y/n]: " -e CONTINUE | ||||
| @@ -653,11 +653,6 @@ function installOpenVPN() { | ||||
| 			apt-get update | ||||
| 			apt-get -y install ca-certificates gnupg | ||||
| 			# We add the OpenVPN repo to get the latest version. | ||||
| 			if [[ $VERSION_ID == "8" ]]; then | ||||
| 				echo "deb http://build.openvpn.net/debian/openvpn/stable jessie main" >/etc/apt/sources.list.d/openvpn.list | ||||
| 				wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add - | ||||
| 				apt-get update | ||||
| 			fi | ||||
| 			if [[ $VERSION_ID == "16.04" ]]; then | ||||
| 				echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" >/etc/apt/sources.list.d/openvpn.list | ||||
| 				wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg | apt-key add - | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 randomshell
					randomshell