summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-09-01 10:15:06 +0100
committerMarkos Chandras <mchandras@suse.de>2017-09-16 10:32:02 +0100
commit8559733be3c0b3274c3671c3ba76affb425bf73f (patch)
tree37e936f4efe3d91d75ae840d499d5defdc30df17
parentf819f91a39ad781d8e7c20fe4672260b4f98e5f3 (diff)
xci: xci-deploy.sh: Allow xci-deploy.sh to run on SUSE hosts
SUSE support is slowly being added to XCI. Change-Id: I1ab6c01d3a33a9b2264992b5e1d202146972743f Signed-off-by: Markos Chandras <mchandras@suse.de>
-rwxr-xr-xxci/xci-deploy.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh
index 24936dd5..f3b3c0cc 100755
--- a/xci/xci-deploy.sh
+++ b/xci/xci-deploy.sh
@@ -91,11 +91,11 @@ case ${OS_FAMILY,,} in
;;
esac
-# There is no CentOS or openSUSE support at all
-if [[ $OS_FAMILY != Debian ]]; then
+# There is no CentOS support at all
+if [[ $OS_FAMILY == RedHat ]]; then
echo ""
- echo "Error: Sorry, only Ubuntu hosts are supported for now!"
- echo "Error: CentOS7 and openSUSE Leap support is still work in progress."
+ echo "Error: Sorry, only Ubuntu and SUSE hosts are supported for now!"
+ echo "Error: CentOS 7 support is still work in progress."
echo ""
exit 1
fi