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() {
|
update_zipfile() {
|
||||||
## Download and extract this zipfile if it doesn't exist yet
|
## Download and extract this zipfile if it doesn't exist yet
|
||||||
if ! [ -d "$2" ] ; then
|
if ! [ -d "$2" ] ; then
|
||||||
wget "$1"
|
wget "$1" "${2}.zip"
|
||||||
unzip "$1" -d "$2"
|
unzip "${2}.zip" -d "$2"
|
||||||
updated="$updated $2"
|
updated="$updated $2"
|
||||||
else
|
else
|
||||||
echo "Already downloaded"
|
echo "Already downloaded"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue