Merge "Make conditionals more consistent"

This commit is contained in:
Jenkins 2016-04-11 07:43:36 +00:00 committed by Gerrit Code Review
commit 4825218378
1 changed files with 2 additions and 2 deletions

View File

@ -82,9 +82,9 @@ def _run_commands(desc, commands, openstack=true)
end
# use the correct environment depending on platform
if File.exist?('/etc/lsb-release')
if File.exist?('/usr/bin/apt-get')
@platform = 'ubuntu14'
elsif File.exist?('/etc/redhat-release')
elsif File.exist?('/usr/bin/yum')
@platform = 'centos7'
end