mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 00:50:30 +00:00
Update update_zip.sh
This commit is contained in:
parent
fdb2e14678
commit
bb63e836ca
1 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ upgrade_zip() {
|
|||
|
||||
# Download the package using wget
|
||||
while [ $attempts -lt $max_attempts ]; do
|
||||
rm -f "/tmp/$package_name"
|
||||
wget --timeout=120 --no-clobber "$url" -O "/tmp/$package_name"
|
||||
# Check if the download was successful
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue