better zip management
This commit is contained in:
parent
085809f7d3
commit
3684533903
1 changed files with 2 additions and 2 deletions
4
src
4
src
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue