Permalink
Browse files

Redhat or RedHat

_system_name can be `RedHat` on later versions of RHEL
  • Loading branch information...
1 parent 5ab8fad commit 27cb7bce5e5762512cb4a985aea1176ded593cc2 @kmcgrath kmcgrath committed Mar 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/functions/requirements/centos
@@ -100,7 +100,7 @@ requirements_centos_define()
else requirements_check libyaml-devel
fi
if
- [[ "${_system_name}" == "Redhat" && ${_system_version:-0} -ge 6 ]] &&
+ [[ ("${_system_name}" == "RedHat" || "${_system_name}" == "Redhat") && ${_system_version:-0} -ge 6 ]] &&
! requirements_centos_lib_available libffi-devel
then
rvm_warn "

0 comments on commit 27cb7bc

Please sign in to comment.