It's not just yumdownloader, `yum install` also behaves this way.  While your 
patch is probably fine, you're unlikely to get it into any new stable releases 
of yum (AFAIK).

I think your best bet is probably to implement this externally; do something 
like:

```
pkgs="foo bar"
yumdownloader $pkgs
for pkg in $pkgs; do
  pkgname=$(ls ${pkg}-*.rpm)
  if test -z "${pkgname}"; then
     die "Missing ${pkgname}"
  fi
done
```

or so.
_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to