Add redhat support wrt #105

This commit is contained in:
Julian Ospald 2019-06-24 18:46:35 +08:00
parent 332dee2af8
commit 4842f7ee68
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

2
ghcup
View File

@ -1093,7 +1093,7 @@ get_distro_alias() {
"Fedora"|"fedora") "Fedora"|"fedora")
distro_alias=fedora distro_alias=fedora
;; ;;
"CentOS Linux"|"CentOS"|"centos") "CentOS Linux"|"CentOS"|"centos"|"Red Hat Enterprise Linux"*)
distro_alias=centos distro_alias=centos
;; ;;
"Alpine Linux"|"Alpine") "Alpine Linux"|"Alpine")