Merge branch 'master' into feature/necsave.
This commit is contained in:
commit
99e99f3e0f
@ -28,11 +28,13 @@ download_tool()
|
||||
{
|
||||
wget -c "$1" -O "$2"
|
||||
if [ $? -eq 0 ]; then
|
||||
rm -f "$2"
|
||||
return 0
|
||||
fi
|
||||
|
||||
curl -C - "$1" -o "$2"
|
||||
curl -f -C - "$1" -o "$2"
|
||||
if [ $? -eq 0 ]; then
|
||||
rm -f "$2"
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user