diff options
| author | levlam <levlam@telegram.org> | 2024-07-20 19:13:13 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2024-07-20 19:13:13 +0300 |
| commit | 8330062bfb9f90f8b057f7a515dfd4afd19f37ec (patch) | |
| tree | fcf67a82801df79779d06761d29320857c0aed92 /build.html | |
| parent | 3a7bdcbe5e93de793d5306e8dc53d4af246ce5a0 (diff) | |
Add CentOS Stream 9 support in build instructions generator.
Diffstat (limited to 'build.html')
| -rw-r--r-- | build.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build.html b/build.html index 2e1417acf..c854181a5 100644 --- a/build.html +++ b/build.html @@ -240,6 +240,7 @@ <option>Alpine</option> <option>CentOS 7</option> <option>CentOS 8</option> + <option>CentOS Stream 9</option> <option>Debian 8</option> <option>Debian 9</option> <option>Debian 10+</option> @@ -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'; |
