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:
SUNIL PATEL 2019-04-23 15:41:56 +05:30 committed by Néstor Subirón
parent f045d357fb
commit 6c780b90bf
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function download_content {
aria2c -j16 -x16 --input-file=.aria2c.input
rm -f .aria2c.input
else
wget ${CONTENT_LINK} -O Content.tar.gz
wget -c ${CONTENT_LINK} -O Content.tar.gz
fi
tar -xvzf Content.tar.gz -C Content
rm Content.tar.gz