HADOOP-19246. Update the yasm rpm download address (#6973)

Reviewed-by: Shilun Fan <slfan1989@apache.org>
Signed-off-by: Tao Li <tomscut@apache.org>
This commit is contained in:
zhengchenyu 2024-08-05 09:57:16 +08:00 committed by GitHub
parent 2cf4d638af
commit b08d492abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ fi
if [ "$version_to_install" == "1.2.0-4" ]; then if [ "$version_to_install" == "1.2.0-4" ]; then
mkdir -p /tmp/yasm && mkdir -p /tmp/yasm &&
curl -L -s -S https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \ curl -L -s -S https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/y/yasm-1.2.0-4.el7.x86_64.rpm \
-o /tmp/yasm-1.2.0-4.el7.x86_64.rpm && -o /tmp/yasm-1.2.0-4.el7.x86_64.rpm &&
rpm -Uvh /tmp/yasm-1.2.0-4.el7.x86_64.rpm rpm -Uvh /tmp/yasm-1.2.0-4.el7.x86_64.rpm
else else