File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -352,14 +352,12 @@ installBundleForRPMDistro(){
352
352
rm -f /etc/yum.repos.d/nginx-plus.repo
353
353
fi
354
354
printf " [nginx-plus]\nname=nginx-plus repo\nbaseurl=https://pkgs.nginx.com/plus/$os_type /\$ releasever/\$ basearch/\nsslclientcert=/etc/ssl/nginx/nginx-repo.crt\nsslclientkey=/etc/ssl/nginx/nginx-repo.key\ngpgcheck=0\nenabled=1" >> /etc/yum.repos.d/nginx-plus.repo
355
-
356
- yum install -y yum-utils curl epel-release ca-certificates dnf-plugins-core
357
- yum-config-manager --enable nginx-stable
358
- yum-config-manager --enable nginx-plus
359
-
355
+
360
356
yum -y update
361
357
check_last_command_status " yum update" $?
362
-
358
+
359
+ yum install -y yum-utils curl epel-release ca-certificates
360
+
363
361
if [ " ${USE_NGINX_PLUS} " == " true" ]; then
364
362
echo " Installing nginx plus..."
365
363
yum install -y nginx-plus
@@ -375,7 +373,7 @@ installBundleForRPMDistro(){
375
373
check_last_command_status " systemctl enable nginx.service" $?
376
374
377
375
if [[ ${SKIP_CLICKHOUSE_INSTALL} == " false" ]]; then
378
- yum- config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo
376
+ dnf config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo
379
377
echo " Installing clickhouse-server and clickhouse-client"
380
378
381
379
yum install -y " clickhouse-common-static-${CLICKHOUSE_VERSION} "
You can’t perform that action at this time.
0 commit comments