better zip management

This commit is contained in:
joachimschmidt557 2020-03-07 21:49:38 +01:00
parent 085809f7d3
commit 3684533903

4
src
View file

@ -64,8 +64,8 @@ update_tarfile() {
update_zipfile() {
## Download and extract this zipfile if it doesn't exist yet
if ! [ -d "$2" ] ; then
wget "$1"
unzip "$1" -d "$2"
wget "$1" "${2}.zip"
unzip "${2}.zip" -d "$2"
updated="$updated $2"
else
echo "Already downloaded"