[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] tools/Freshen-2.0/lib freshen-functions.rb
From:       Michael Homer <michael () e ! geek ! nz>
Date:       2007-06-12 23:28:33
Message-ID: E1HyFmr-00078F-O8 () cvs ! savannah ! gnu ! org
[Download RAW message or body]

CVSROOT:	/sources/goboscripts
Module name:	tools
Changes by:	Michael Homer <mwh>	07/06/12 23:28:33

Modified files:
	Freshen-2.0/lib: freshen-functions.rb 

Log message:
	Strike out recipe/package list entries that have been completely erased by version \
maxima

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tools/Freshen-2.0/lib/freshen-functions.rb?cvsroot=goboscripts&r1=1.19&r2=1.20


Patches:
Index: freshen-functions.rb
===================================================================
RCS file: /sources/goboscripts/tools/Freshen-2.0/lib/freshen-functions.rb,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- freshen-functions.rb	12 Jun 2007 22:24:53 -0000	1.19
+++ freshen-functions.rb	12 Jun 2007 23:28:33 -0000	1.20
@@ -103,11 +103,13 @@
 				while @recipes[prog].length>0 && @recipes[prog].at(-1)>=@maxVersion[prog]
 					@recipes[prog].pop
 				end
+				@recipes[prog] = nil if @recipes[prog].length==0
 			end
 			if @packages[prog]
 				while @packages[prog].length>0 && @packages[prog].at(-1)>=@maxVersion[prog]
 					@packages[prog].pop
 				end
+				@recipes[prog] = nil if @recipes[prog].length==0
 			end
 		end
 		# Patch around incorrect WindowMaker dependency file
_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic