Update install.sh

This commit is contained in:
Kroese 2024-05-04 17:14:08 +02:00 committed by GitHub
parent 908d32db45
commit cfad4d6501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -210,7 +210,7 @@ getESD() {
local eFile="esd_edition.xml" local eFile="esd_edition.xml"
local fFile="products_filter.xml" local fFile="products_filter.xml"
{ wget "$winCatalog" -O "$dir/$wFile" -q; rc=$?; } || : { wget "$winCatalog" -O "$dir/$wFile" -q --timeout=10; rc=$?; } || :
(( rc != 0 )) && error "Failed to download $winCatalog , reason: $rc" && return 1 (( rc != 0 )) && error "Failed to download $winCatalog , reason: $rc" && return 1
cd "$dir" cd "$dir"
@ -348,7 +348,7 @@ downloadFile() {
info "$msg" && html "$msg" info "$msg" && html "$msg"
/run/progress.sh "$iso" "$size" "Downloading $desc ([P])..." & /run/progress.sh "$iso" "$size" "Downloading $desc ([P])..." &
{ wget "$url" -O "$iso" -q --show-progress "$progress"; rc=$?; } || : { wget "$url" -O "$iso" -q --timeout=10 --show-progress "$progress"; rc=$?; } || :
fKill "progress.sh" fKill "progress.sh"