close the input pipe each time when talking to apt
This commit is contained in:
parent
03adf99b41
commit
957b00eeff
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue