Introduce distro_alias for Amazon Linux

Amazon Linux introduces itself as

```
andrea:~ $ cat /etc/os-release 
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
```
This commit is contained in:
Andrea Bedini 2018-12-27 15:37:43 +01:00 committed by GitHub
parent 29164f33b0
commit 5f04b34b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
ghcup
View File

@ -948,6 +948,9 @@ get_distro_alias() {
"Alpine Linux"|"Alpine")
distro_alias=alpine
;;
"Amazon Linux AMI")
distro_alias=amazonlinux
;;
"AIX")
distro_alias=aix
;;