Update list2cds to allow #-comments in the exclude file.

This commit is contained in:
Petter Reinholdtsen 2004-04-24 11:42:13 +00:00
parent 11f1d4904d
commit 64bd6c0546
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View File

@ -37,6 +37,7 @@ debian-cd (2.2.18) UNRELEASED; urgency=low
kernel-pcmcia-modules-2.4.22-xfs-386,
kernel-pcmcia-modules-2.4.22-xfs-686-smp,
kernel-source-2.2.20, timidity-patches, tcl8.2 and tk8.2.
- Update list2cds to allow #-comments in the exclude file.
* Stephen R. Marenka
- m68k support.
* Santiago Garcia

View File

@ -85,6 +85,8 @@ if (-e $exclude) {
open (EXCL, "< $exclude") || die "Can't open $exclude : $!\n";
while (defined($_=<EXCL>)) {
chomp;
s/\#.*$//;
next if m/^\s*$/;
if (not exists $packages{$_}) {
msg(1, "INIT: Package '$_' is in excluded but " .
"doesn't exist. Ignored.\n");