|
@ -83,8 +83,11 @@ compare = (a, b) -> |
|
|
downloadFile = (url, path, force) -> |
|
|
downloadFile = (url, path, force) -> |
|
|
if options.f or force |
|
|
if options.f or force |
|
|
wget("-fq", url, path) |
|
|
wget("-fq", url, path) |
|
|
|
|
|
return true |
|
|
else |
|
|
else |
|
|
wget("-q", url, path) |
|
|
wget("-q", url, path) |
|
|
|
|
|
return true |
|
|
|
|
|
return false |
|
|
|
|
|
|
|
|
readFromFile = (path) -> |
|
|
readFromFile = (path) -> |
|
|
if not fs.exists(fs.path(path)) |
|
|
if not fs.exists(fs.path(path)) |
|
|