> Also, it'd be nice to go straight to having: > yum-cron update > yum-cron cleanup > yum-cron check-updates > yum-cron download-updates > ...and then the only things looking in sysconfig/yum-cron would be > the .cron.sh files. But I'm not going to NAK it for that.
Because the existing yum-cron did it that way, I followed the model of having the actions run corresponding yum scripts. The question is: is there any real advantage in doing that? Why not just run "yum upgrade" and "yum clean packages expire-cache"? If there is a current or future advantage in using yum shell, the above suggestion runs into an issue: "yum check-update" actually returns a value which the calling script can use (100, if updates are pending), whereas running check-updates from yum shell does not appear to. Is there a solution? Should there be? And, similarly, plugins like download-updates add command-line options, but do not appear to add anything to yum shell. How should that be handled? -- Matthew Miller mat...@mattdm.org <http://mattdm.org/> _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel