From bc08854bd034b2bff645d7c7ba7ad9d4178e6eb5 Mon Sep 17 00:00:00 2001 From: Greg Lucas Date: Wed, 25 Jun 2014 16:04:09 -0400 Subject: [PATCH] Use DISTRO_NAME rather than unbound DISTRO Also correct case of distro name to match where it is being set. Change-Id: I05fac5eeaae3593e43355ab7cc7b995d1f46dbdc Closes-Bug: 1334414 --- elements/heat-cfntools/install.d/05-heat-cfntools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/heat-cfntools/install.d/05-heat-cfntools b/elements/heat-cfntools/install.d/05-heat-cfntools index 4a3b7c477..7fa066c88 100755 --- a/elements/heat-cfntools/install.d/05-heat-cfntools +++ b/elements/heat-cfntools/install.d/05-heat-cfntools @@ -4,7 +4,7 @@ set -uex install-packages python-psutil gcc python-dev -if [[ "Fedora" = "$DISTRO" ]]; then +if [[ "fedora" = "$DISTRO_NAME" ]]; then # Remove the pre-installed package version of heat-cfntools yum remove -y heat-cfntools fi