On Wed, 12 Feb 2014 08:56:40 +0000, Frank Murphy wrote:

> I can't remember,
> but used "yum check-update"
> return "no updates available",
> if there was none.

"yum update" does that. "yum check-update" returns zero (False) if no
updates are available and non-zero (True), if updates are available.

> [root@]# yum check-update
> Loaded plugins: langpacks, local, versionlock
> #repo checking snipped
> [root@]# 

# yum check-update && echo "no updates available"
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit
no updates available
#
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to