Cope better with badly-formatted stanzas in Sources.gz

This commit is contained in:
Steve McIntyre 2006-01-28 20:10:51 +00:00
parent 361b828546
commit 9f75f53cd8
2 changed files with 3 additions and 4 deletions

1
debian/changelog vendored
View File

@ -145,6 +145,7 @@ debian-cd (2.2.24) UNRELEASED; urgency=low
* Cope with mipsel boot images moving location. Closes: #349563.
* Make sure that all the scripts use Packages.gz rather than Packages
when looking up metadata in the archive - Packages is deprecated.
* Cope better with badly-formatted stanzas in Sources.gz
-- Joey Hess <joeyh@debian.org> Sat, 7 Jan 2006 16:56:49 -0500

View File

@ -33,13 +33,11 @@ case $ARCH in
SIZE = $2
FILE = $3
printf("%s %12s %s/%s/%s\n", MD5, SIZE, MIRROR, DIR, FILE);
next
}
}
/.*/ {
if (!length($0)) {
/^[^ ]/ {
in_files = 0
next
}
}' | sort | uniq >> $OUT
;;
alpha|amd64|arm|hppa|i386|ia64|m68k|mips|mipsel|powerpc|s390|sparc)