We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3c6ce5 + 78eddc6 commit f3349c4Copy full SHA for f3349c4
modules/bash-commons/src/os.sh
@@ -13,7 +13,7 @@ function os_get_available_memory_mb {
13
# can use regex. If you don't care about the version, leave it unspecified.
14
function os_is_amazon_linux {
15
local readonly version="$1"
16
- grep -q "Amazon Linux release $version" /etc/*release
+ grep -q "Amazon Linux * $version" /etc/*release
17
}
18
19
# Returns true (0) if this is an Ubuntu server at the given version or false (1) otherwise. The version number
0 commit comments