[yum-cvs] 2 commits - Makefile yum-updatesd-helper yum-updatesd.spec

Jeremy Katz katzj at linux.duke.edu
Fri Oct 12 15:17:48 UTC 2007


 Makefile            |    2 +-
 yum-updatesd-helper |    2 +-
 yum-updatesd.spec   |    5 ++++-
 3 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit e165c98da6f57ebbbc59430e0ab234e1d20e31b6
Author: Jeremy Katz <katzj at redhat.com>
Date:   Fri Oct 12 11:14:36 2007 -0400

    bump version

diff --git a/Makefile b/Makefile
index 1e40270..19b83b0 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 # James Bowes <jbowes at redhat.com>
 
 NAME = yum-updatesd
-VERSION = 0.6
+VERSION = 0.7
 
 PREFIX = /usr
 MANDIR = $(PREFIX)/share/man
diff --git a/yum-updatesd.spec b/yum-updatesd.spec
index 03ead6a..8a93d8b 100644
--- a/yum-updatesd.spec
+++ b/yum-updatesd.spec
@@ -1,7 +1,7 @@
 Summary: Update notification daemon
 Name: yum-updatesd
 Epoch: 1
-Version: 0.6
+Version: 0.7
 Release: 1%{?dist}
 License: GPLv2
 Group: System Environment/Base
@@ -61,6 +61,9 @@ exit 0
 
 
 %changelog
+* Fri Oct 12 2007 Jeremy Katz <katzj at redhat.com> - 1:0.7-1
+- fix error when download is set, but no packages are available (#329361)
+
 * Wed Oct 10 2007 Jeremy Katz <katzj at redhat.com> - 1:0.6-1
 - add lsb initscript header (#247106)
 - overly simplistic service start speed-up
commit ef7a750998f6188e85f770e84af566dc3e0361bd
Author: Jeremy Katz <katzj at redhat.com>
Date:   Fri Oct 12 10:26:17 2007 -0400

    don't show an error if download/apply is set and nothing is available (#329361)

diff --git a/yum-updatesd-helper b/yum-updatesd-helper
index 73f2f56..2daffd2 100755
--- a/yum-updatesd-helper
+++ b/yum-updatesd-helper
@@ -558,7 +558,7 @@ def main(options = None):
         sys.exit(1)
 
     # download if set up to do so, else tell about the updates and exit
-    if not options.download:
+    if not options.download or len(updd.updateInfo) == 0:
         updd.emitAvailable()
         updd.releaseLocks()
         sys.exit(0)



More information about the Yum-cvs-commits mailing list