[Apt-zip-devel] Redundancy?
Giacomo A. Catenazzi
cate at debian.org
Sat Sep 29 17:52:44 UTC 2007
Hello Wolfram,
Wolfram Sang wrote:
> Hiya,
>
> I hope there is still someone reading this list :)
>
> While working on wget-dos (first version nearly finished, excluding tar
> and restart-options) I found two redundancies; but maybe they exist for
> a reason?
>
> - wget is called with "-O $2 $1". I think wget will create the correct
> filename out of the URI $1, so "-O $2" could be skipped, no?
IIRC the -O it is used to overwrite the existing file (partial
download, errors...). If you don't use -O, the file will have
a .1 suffix
>
> - using the option "restart" without "tar", will just add a check if the
> file was already downloaded to do_wget(). But this check is already in
> getfile(). So, the addition could be skipped, no?
I should check, but I never used options, so I never cared a lot ;-)
ciao
cate
>
> All the best,
>
> Wolfram
>
> _______________________________________________
> apt-zip-devel mailing list
> apt-zip-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/apt-zip-devel
More information about the apt-zip-devel
mailing list