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
This commit is contained in:
Greg Lucas 2014-06-25 16:04:09 -04:00
parent 2bd4ab2cfd
commit bc08854bd0
1 changed files with 1 additions and 1 deletions

View File

@ -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