From 8330062bfb9f90f8b057f7a515dfd4afd19f37ec Mon Sep 17 00:00:00 2001 From: levlam Date: Sat, 20 Jul 2024 19:13:13 +0300 Subject: [PATCH] Add CentOS Stream 9 support in build instructions generator. --- build.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.html b/build.html index 2e1417acf..c854181a5 100644 --- a/build.html +++ b/build.html @@ -240,6 +240,7 @@ + @@ -859,8 +860,13 @@ function onOptionsChanged() { commands.push(sudo + 'yum install -y ' + packages); break; case 'CentOS 8': + case 'CentOS Stream 9': commands.push(sudo + 'dnf update -y'); - commands.push(sudo + 'dnf --enablerepo=powertools install gperf'); + if (linux_distro === 'CentOS 8') { + commands.push(sudo + 'dnf --enablerepo=powertools install -y gperf'); + } else { + commands.push(sudo + 'dnf --enablerepo=crb install -y gperf'); + } var packages = 'gcc-c++ make git zlib-devel openssl-devel php cmake'; if (target === 'JNI') { packages += ' java-11-openjdk-devel';