> # make a config option for this?
> os.execl('/usr/local/bin/yum-down.sh', '')

This is the download helper I have been using.  It uses curl binary to do the 
job.
Start and stop of each download is logged with '+' and '-' lines.

$ cat /usr/local/bin/yum-down.sh 
#! /bin/sh
# A simple external downloader for yum.

while read url; do
    echo "$$: + $url" >&2
    /usr/bin/curl -s -O "$url"
    echo $?
    echo "$$: - $url" >&2
done
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to