[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

PATCH for tools/cds2src



This patch makes it possible to have more than one source
packages with different versions can co-exist on a CD set.
This should help vendors who want to add replacements in the
local tree.

Index: tools/cds2src
===================================================================
RCS file: /cvs/debian-boot/debian-cd/tools/cds2src,v
retrieving revision 1.9
diff -u -r1.9 cds2src
--- tools/cds2src	2001/04/24 20:30:54	1.9
+++ tools/cds2src	2001/10/03 03:04:40
@@ -115,7 +115,7 @@
 	foreach $bin (split (/,\s+/, $sources{$p}{"Binary"})) {
 		$bin2src{$bin} = $p;
 	}
-	$sources{$p}{"Files"} = [];
+	$sources{$p}{"Files"} = [] unless exists $sources{$p}{"Files"};
 	# Get the file list with the size
 	if (not m/^Files:\s*\n/mgc) {
 		msg(0,"ERROR: Cannot found Files field ...\n");



Reply to: