[Fedora-security-commits] fedora-security/tools/scripts check-updates, 1.6, 1.7

fedora-security-commits at redhat.com fedora-security-commits at redhat.com
Thu Jan 15 13:21:52 UTC 2009


Author: thoger

Update of /cvs/fedora/fedora-security/tools/scripts
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4890/tools/scripts

Modified Files:
	check-updates 
Log Message:
only note update id when update is stable



Index: check-updates
===================================================================
RCS file: /cvs/fedora/fedora-security/tools/scripts/check-updates,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- check-updates	26 Aug 2008 06:37:52 -0000	1.6
+++ check-updates	15 Jan 2009 13:21:21 -0000	1.7
@@ -79,17 +79,15 @@
 
 		if ($debug) {
 			print "  -> Found: ", keys(%{ $u->{'_builds_hash'}->{$entry->{'component'}} });
-		}
-		
-		# Modify the line accordingly
-		if (defined($u->{'updateid'})) {
-			$entry->{'since'}= $u->{'updateid'};
-			if ($debug) {
+			if (defined($u->{'updateid'})) {
 				print " ($u->{'updateid'})";
 			}
 		}
+		
+		# Modify the line accordingly
 		if ($u->{'status'} eq 'stable') {
 			$entry->{'status'}= 'fixed';
+			$entry->{'since'}= $u->{'updateid'};
 		}
 		Libexig::Audit::update_entry ($entry);
 




More information about the Fedora-security-commits mailing list