mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
Fix code that removes Packages entries - need to be paragraph-oriented rather than line-oriented here
This commit is contained in:
parent
d45a3b61f5
commit
7c095e5768
@ -830,6 +830,7 @@ sub remove_Packages_entry {
|
||||
|
||||
$gz = gzopen("$pkgfile.gz", "wb9");
|
||||
|
||||
$/ = ''; # Browse by paragraph
|
||||
while (defined($match = <IFILE>)) {
|
||||
if (! ($match =~ /^Package: \Q$p\E$/m)) {
|
||||
print OFILE $match;
|
||||
|
Loading…
Reference in New Issue
Block a user