From 7af622bdcbf8d5e9b144624fd3b1e821947ca163 Mon Sep 17 00:00:00 2001 From: evalle Date: Sat, 11 Jul 2015 19:28:21 +0200 Subject: [PATCH] Fix issue with detection logic of Centos in install.sh Signed-off-by: evalle Upstream-commit: 33039aa12939f6be6d8775ca5d9bee7541641053 Component: engine --- components/engine/hack/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/engine/hack/install.sh b/components/engine/hack/install.sh index 4d9985c0f8..74c6d374ea 100755 --- a/components/engine/hack/install.sh +++ b/components/engine/hack/install.sh @@ -109,6 +109,9 @@ do_install() { if [ -z "$lsb_dist" ] && [ -r /etc/fedora-release ]; then lsb_dist='fedora' fi + if [ -z "$lsb_dist" ] && [ -r /etc/centos-release ]; then + lsb_dist='centos' + fi if [ -z "$lsb_dist" ] && [ -r /etc/os-release ]; then lsb_dist="$(. /etc/os-release && echo "$ID")" fi