mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	Add support for Rocky Linux 8 (#869)
This commit is contained in:
		| @@ -55,7 +55,7 @@ function checkOS() { | |||||||
| 		if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then | 		if [[ $ID == "fedora" || $ID_LIKE == "fedora" ]]; then | ||||||
| 			OS="fedora" | 			OS="fedora" | ||||||
| 		fi | 		fi | ||||||
| 		if [[ $ID == "centos" ]]; then | 		if [[ $ID == "centos" || $ID == "rocky" ]]; then | ||||||
| 			OS="centos" | 			OS="centos" | ||||||
| 			if [[ ! $VERSION_ID =~ (7|8) ]]; then | 			if [[ ! $VERSION_ID =~ (7|8) ]]; then | ||||||
| 				echo "⚠️ Your version of CentOS is not supported." | 				echo "⚠️ Your version of CentOS is not supported." | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 derek-j-pitman
					derek-j-pitman