Fixed issues #65

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-06-06 21:37:12 +09:00
parent b26efbe963
commit 3d4dd1e00b
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ download() {
echo -e "[${green}Info${plain}] ${filename} [found]"
else
echo -e "[${green}Info${plain}] ${filename} not found, download now..."
wget --no-check-certificate -cq -t3 -T3 -O ${1} ${2}
wget --no-check-certificate -cq -t3 -T60 -O ${1} ${2}
if [ $? -eq 0 ]; then
echo -e "[${green}Info${plain}] ${filename} download completed..."
else

View File

@ -344,7 +344,7 @@ download() {
echo -e "[${green}Info${plain}] ${filename} [found]"
else
echo -e "[${green}Info${plain}] ${filename} not found, download now..."
wget --no-check-certificate -cq -t3 -T3 -O ${1} ${2}
wget --no-check-certificate -cq -t3 -T60 -O ${1} ${2}
if [ $? -eq 0 ]; then
echo -e "[${green}Info${plain}] ${filename} download completed..."
else