Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update b2install-prepare #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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