[Yum-devel] [PATCH] Add downloadonly option to userconfirm download prompt.

Zdenek Pavlas zpavlas at redhat.com
Tue Apr 23 15:00:52 UTC 2013


>          # confirm with user
>          if self._promptWanted():
> -            if self.conf.assumeno or not self.userconfirm():
> +            uc = None
> +            if not self.conf.assumeno:
> +                uc = _downloadonly_userconfirm(self)

When using --downloadonly, I almost always use -y too.  This could
be implicit.  When someone wants to review the transaction and THEN run
downloadonly, he can now omit --downloadonly and answer 'd' to the prompt.


More information about the Yum-devel mailing list