added -c to wget to recover the interrupted download (#1559)
the update is a very costly operation and it downloads ~6gb every time. many time this download get interrupted and again the same file needs to be downloaded from the beginning. to avoid this -c argument is added to `wget`. this will help in continuing download from the point it was interrupted previously.
This commit is contained in:
parent
f045d357fb
commit
6c780b90bf
|
@ -63,7 +63,7 @@ function download_content {
|
||||||
aria2c -j16 -x16 --input-file=.aria2c.input
|
aria2c -j16 -x16 --input-file=.aria2c.input
|
||||||
rm -f .aria2c.input
|
rm -f .aria2c.input
|
||||||
else
|
else
|
||||||
wget ${CONTENT_LINK} -O Content.tar.gz
|
wget -c ${CONTENT_LINK} -O Content.tar.gz
|
||||||
fi
|
fi
|
||||||
tar -xvzf Content.tar.gz -C Content
|
tar -xvzf Content.tar.gz -C Content
|
||||||
rm Content.tar.gz
|
rm Content.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue