* Accept non-us section name (even if non-US is the official name to use).

This commit is contained in:
Raphaël Hertzog 2001-08-21 19:07:43 +00:00
parent 3cc10c037e
commit bd78332c87
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -1,6 +1,7 @@
debian-cd (2.2.8) unstable; urgency=low
* UNRELEASED.
* Be less restrictive on non-US section name (ie accepts non-us too).
-- Raphael Hertzog <hertzog@debian.org> Sun, 19 Aug 2001 13:42:27 +0200

View File

@ -27,7 +27,7 @@ while (defined($_ = <LIST>)) {
m/^Architecture: (\S+)/m and $arch = $1;
m/^Section: (\S+)/m and $section = $1;
$source = ($section =~ /non-US/) ? $nonus : $mirror;
$source = ($section =~ /non-US/i) ? $nonus : $mirror;
# This is a hack to allow the local debs to be located elsewhere.
$source=$localdebs if $file=~m:local/:;