summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorNate <nate.tade@gmail.com>2017-04-20 11:20:02 -0700
committerGitHub <noreply@github.com>2017-04-20 11:20:02 -0700
commitcde1b741bde0bb90f4a36df49817a28af164c943 (patch)
tree5e13510221b8d7bafb80443d1ff79f4b435990be /installer
parent2dfbd58fce4f9c2d3f6255b9de2a6efdc91fb326 (diff)
Adding amzn-2017.03 to install_non_systemd_init
current version of Amazon Linux is 2017.03 which is not handled by install_non_systemd_init so init scripts are not copied into place - just adding the version to install_non_systemd_init, would be easier with regex but that would be a bit more refactoring to use double braces in the test statement.
Diffstat (limited to 'installer')
-rw-r--r--installer/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/functions.sh b/installer/functions.sh
index 78e50e3537..3016def4f3 100644
--- a/installer/functions.sh
+++ b/installer/functions.sh
@@ -422,6 +422,7 @@ install_non_systemd_init() {
return 0
elif [ "${key}" = "amzn-2016.09" \
+ -o "${key}" = "amzn-2017.03" \
-o "${key}" = "CentOS release 6.6 (Final)" \
-o "${key}" = "CentOS release 6.8 (Final)" \
]