File tree 2 files changed +4
-4
lines changed
scripts/install_dependencies
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- pr-28725
1
+ pr-29066
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ elif [ "$os" == "centos7" ] || [ "$os" == "centos8" ] || [ "$os" == "centos9" ]
219
219
pkgs_gpu+=(" ocl-icd.$arch " )
220
220
extra_repos+=(" https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" )
221
221
elif [ " $os " == " rhel8" ] ; then
222
- pkgs_gpu+=(" http://mirror .centos.org/centos/8-stream/AppStream/$arch /os/Packages/ocl-icd-2.2.12-1.el8.$arch .rpm" )
222
+ pkgs_gpu+=(" http://vault .centos.org/centos/8-stream/AppStream/$arch /os/Packages/ocl-icd-2.2.12-1.el8.$arch .rpm" )
223
223
pkgs_python+=(python38 python38-pip)
224
224
extra_repos+=(" https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" )
225
225
elif [ " $os " == " rhel9.1" ] || [ " $os " == " rhel9.2" ] || [ " $os " == " rhel9.3" ] || [ " $os " == " rhel9.4" ] ; then
@@ -302,9 +302,9 @@ elif [ "$os" == "centos7" ] || [ "$os" == "centos8" ] || [ "$os" == "centos9" ]
302
302
[ -z " $interactive " ] && iopt=" --assumeyes"
303
303
[ -n " $dry " ] && iopt=" --downloadonly"
304
304
[ -n " $keepcache " ] && iopt=" $iopt --setopt=keepcache=1"
305
- [ -n " $extra " ] && [ ${# extra_repos[@]} -ne 0 ] && yum localinstall " $ iopt" --nogpgcheck " ${extra_repos[@]} "
305
+ [ -n " $extra " ] && [ ${# extra_repos[@]} -ne 0 ] && yum localinstall ${ iopt: + $iopt } --nogpgcheck " ${extra_repos[@]} "
306
306
307
- yum install " $ iopt" " ${pkgs[@]} "
307
+ yum install ${ iopt: + $iopt } " ${pkgs[@]} "
308
308
309
309
elif [ " $os " == " opensuse-leap15.3" ] ; then
310
310
You can’t perform that action at this time.
0 commit comments