修复rpm更新失败的问题

This commit is contained in:
gfdgd xi 2024-02-02 18:14:24 +08:00
parent 7e4620f4c3
commit 15c28a4820

View File

@ -1334,7 +1334,7 @@ rm -rfv /tmp/spark-deepin-wine-runner/update/*
echo 关闭Wine 运行器 echo 关闭Wine 运行器
python3 "{programPath}/updatekiller.py" python3 "{programPath}/updatekiller.py"
echo 下载安装包 echo 下载安装包
wget -P /tmp/spark-deepin-wine-runner/update {UpdateWindow.data["Url-rpm"][0]} -o spark-deepin-wine-runner.rpm wget -O /tmp/spark-deepin-wine-runner/update/spark-deepin-wine-runner.rpm {UpdateWindow.data["Url-rpm"][0]}
echo 安装安装包 echo 安装安装包
yum install /tmp/spark-deepin-wine-runner/update/spark-deepin-wine-runner.rpm -y yum install /tmp/spark-deepin-wine-runner/update/spark-deepin-wine-runner.rpm -y
notify-send -i "{iconPath}" "更新完毕!" notify-send -i "{iconPath}" "更新完毕!"