[Apt-zip-devel] Redundancy?

Wolfram Sang wolfram at the-dreams.de
Sat Sep 29 11:25:41 UTC 2007


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?

- 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?

All the best,

    Wolfram



More information about the apt-zip-devel mailing list