Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.
This commit is contained in:
parent
66ec72045f
commit
8a07ec582e
|
@ -3454,7 +3454,7 @@ install_RPM() {
|
|||
$SUDO dnf -y update
|
||||
|
||||
elif [ "$RPM" = "RHEL" ]; then
|
||||
if [ "`grep '6\.' /etc/redhat-release`" ]; then
|
||||
if [ "`grep '[^.]6\.' /etc/redhat-release`" ]; then
|
||||
ERROR "Building with GCC 4.4 is not supported!"
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue