On Wednesday 15 June 2005 03:06, Chris White wrote:
> 4) It downloads the file into a directory called .temp_directory, which
> must be empty (it will yell if it's not) 5) it does a directory listing to
> get the name of the source archive (yes, it must be empty because it has to
> be the only file there, since currently wget is handling the download and
> kde-theme.py has no true way of handling that saving doing a directory
> listing where the download is the only file there).  I plan on adding some
> kind of download library later on to take care of this. 6) it checks the
> filename against a list of regex's.  This tells it what type of file it's
> dealing with.  By doing so, I can add support for rpm/deb/other strange
> files by simply updating the regex list.  Right now it handles the
> following:

You do know that wget has the "-O" option to specify the name of the 
downloaded file. Of course that means you can't regex, but you could probably 
do that from wget's output.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net

Attachment: pgpZ6TtmpQblJ.pgp
Description: PGP signature

Reply via email to