[Yum-devel] [PATCH 3/3] Implement getPackageAsync() and getPackageDone()
zpavlas at redhat.com
Wed Jul 27 13:34:44 UTC 2011
> # 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
# A simple external downloader for yum.
while read url; do
echo "$$: + $url" >&2
/usr/bin/curl -s -O "$url"
echo "$$: - $url" >&2
More information about the Yum-devel