Support installing on macOS aka Darwin

Resolves https://github.com/haskell/ghcup/issues/33
This commit is contained in:
Oleg Grenrus
2018-11-11 20:12:44 +02:00
parent 2b9f1a4a20
commit 6008d8a964
2 changed files with 11 additions and 0 deletions

3
ghcup
View File

@@ -880,6 +880,9 @@ get_distro_alias() {
"CentOS Linux"|"CentOS"|"centos")
distro_alias=centos
;;
"Darwin")
distro_alias=darwin
;;
esac
printf "%s" "${distro_alias}"