[Carlos Barros] > Then change: > > $file = ( -e "$mirror/$filename" ) ? "$mirror/$filename" : > "$nonus/$filename"; > to: > > $file = ( -e "$mirror/$filename" ) ? "$mirror/$filename" : > (-e "$nonus/$filename") ? "$nonus/$filename" : > "$security/$filename";
Will this make the build process choose security fixes first or last? It seem to me it will choose a security package if the package in question is missing from the mirror or from non-us. Is this what you want? > Do you know if boot-floppies recognize the security section from the > CD's? No idea, but I hope so. :-) Is this the patch you suggest? Index: mirror_check =================================================================== RCS file: /var/lib/cvs/skolelinux/src/debian-cd/tools/mirror_check,v retrieving revision 1.1.1.1 diff -u -3 -p -u -r1.1.1.1 mirror_check --- mirror_check 26 Aug 2001 11:45:50 -0000 1.1.1.1 +++ mirror_check 27 Jun 2002 17:53:03 -0000 @@ -4,6 +4,7 @@ use Digest::MD5; my $mirror = shift || $ENV{'MIRROR'}; my $nonus = shift || $ENV{'NONUS'}; +my $security = shift || $ENV{'SECURITY'}; my ($p, $filename, $size, $md5sum, $file) = ('', '', 0, '', ''); my $ok = 1; @@ -21,7 +22,8 @@ while (defined($_ = <>)) { next if not $p; $file = ( -e "$mirror/$filename" ) ? "$mirror/$filename" : - "$nonus/$filename"; + ( -e "$nonus/$filename" ) ? "$nonus/$filename" : + "$security/$filename"; # Check if the file exists if (! -e $file) { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]