Skip to content

Commit

Permalink
Update b2install-prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrube authored Sep 12, 2022
1 parent 7bb6a71 commit aa4fcf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion b2install-prepare
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ elif [ $OS_RELEASE_ID == "debian" ]; then
INSTALL_CMD="apt-get install -y"
fi

elif [[ $OS_RELEASE_ID_LIKE = *rhel* ]] && [ $OS_RELEASE_VERSION -ge 8 ]; then
elif [[ $OS_RELEASE_ID_LIKE = *rhel* ]] && [ ${OS_RELEASE_VERSION%.*} -ge 8 ]; then
# CentOS, RHEL starting with version 8
PACKAGES="binutils gcc gcc-c++ git make patch perl-devel python2 subversion
tar gzip bzip2 bzip2-devel xz unzip wget libpng-devel libX11-devel
Expand Down

0 comments on commit aa4fcf7

Please sign in to comment.