close the input pipe each time when talking to apt

This commit is contained in:
Steve McIntyre 2008-11-24 01:59:16 +00:00
parent 03adf99b41
commit 957b00eeff
1 changed files with 1 additions and 1 deletions

View File

@ -335,9 +335,9 @@ sub load_packages_cache {
m/^Package: (\S+)/m and $p = $1;
$pkginfo{$arch}{$p} = $_;
}
close LIST;
}
$/ = $old_split; # Browse by line again
close LIST;
}
sub should_start_extra_nonfree {