File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
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
You can’t perform that action at this time.
0 commit comments