Bugfix: fix the remove_Packages_entry() helper function

This was a bug introduced with the backports support. Lots of the
internal helper functions take 4 arguments now: ($dir, $arch,
$in_backports, $package_info). That's fine, but I forgot to update the
code in remove_Packages_entry() to deal with the $in_backports
argument.

This led to the md5sums.txt files in multi-disc sets being broken -
the last file(s) removed on a given disc would still be listed in the
md5sums.txt file, even though the file itself had been removed.
This commit is contained in:
Steve McIntyre 2017-03-27 20:40:19 +01:00
parent fd0b0a403a
commit a3aef842ad
1 changed files with 1 additions and 0 deletions

View File

@ -1301,6 +1301,7 @@ sub remove_trans_desc_entry {
sub remove_md5_entry {
my $dir = shift;
my $arch = shift;
my $in_backports = shift;
local $_ = shift;
my $md5file = "$dir/md5sum.txt";
my $tmp_md5file = "$dir/md5sum.txt.tmp";