Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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