Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix amazon linux 2012+ version detection

  • Loading branch information...
commit 3de25fa5e98c8a087756f92cfb145896010a3de8 1 parent 635a5e7
@jcameron jcameron authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  os_list.txt
View
2  os_list.txt
@@ -66,7 +66,7 @@ Wind River Linux 3.0 redhat-linux 18.0 `cat /etc/wrs-release 2>/dev/null` =~ /W
Wind River Linux 2.0 redhat-linux 16.0 `cat /etc/wrs-release 2>/dev/null` =~ /Wind\s+River\s+Linux\s+2\.0/
# Amazon Linux
-Amazon Linux $1 redhat-linux 20.0 `cat /etc/system-release 2>/dev/null` =~ /Amazon\s+Linux.*\s2011/
+Amazon Linux $1 redhat-linux 20.0 `cat /etc/system-release 2>/dev/null` =~ /Amazon\s+Linux.*\s(201[1-9])/
# Free Redhat Linux and Fedora
Redhat Linux $1 redhat-linux $1 `cat /etc/redhat-release 2>/dev/null` =~ /red.*hat.*release\s+(\S+)/i && `cat /etc/redhat-release 2>/dev/null` !~ /[eE]nterprise|AS|ES|WS|[aA]dvanced/

0 comments on commit 3de25fa

Please sign in to comment.
Something went wrong with that request. Please try again.