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:
parent
2bd4ab2cfd
commit
bc08854bd0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user