Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

解决在软件中心安装软件提示下载文件校验不一致的BUG 去掉wget无法识别的--tries参数 #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion softcenter/softcenter/scripts/ks_app_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ install_module() {
rm -rf "/tmp/$softcenter_installing_module"
dbus set softcenter_installing_status="3"
sleep 2
wget --no-check-certificate --tries=1 --timeout=15 $TAR_URL
wget --no-check-certificate --timeout=15 $TAR_URL
RETURN_CODE=$?

if [ "$RETURN_CODE" != "0" ]; then
Expand Down