From 2458f5e9db3c2f55751c52c88a215372e9d54222 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 16 Dec 2019 15:34:47 +0800 Subject: [PATCH] Be a little more lax in get_distro_alias --- ghcup | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ghcup b/ghcup index 83cacb0..70ad75f 100755 --- a/ghcup +++ b/ghcup @@ -1127,22 +1127,22 @@ get_distro_alias() { "CentOS Linux"|"CentOS"|"centos"|"Red Hat Enterprise Linux"*) distro_alias=centos ;; - "Alpine Linux"|"Alpine") + "Alpine Linux"|"Alpine"|"alpine") distro_alias=alpine ;; - "Linux Mint"|"LinuxMint") + "Linux Mint"|"LinuxMint"|"linuxmint") distro_alias=mint ;; - "Amazon Linux AMI") + "Amazon Linux AMI"|"amazonlinux") distro_alias=amazonlinux ;; - "AIX") + "AIX"|"aix") distro_alias=aix ;; - "FreeBSD") + "FreeBSD"|"freebsd") distro_alias=freebsd ;; - "Darwin") + "Darwin"|"darwin") distro_alias=darwin ;; esac