which_deb: fix typo breaking local Packages.xz Closes: #968668

tools/which_deb: Apply patch by JH Chatenet to fix problems with local
xz compressed Packages files. Closes: #968668

Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
Holger Levsen 2021-02-03 17:13:18 +01:00
parent d2177ceb81
commit 21d6617f0f
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View File

@ -1,8 +1,13 @@
debian-cd (3.1.33) UNRELEASED; urgency=medium
[ Wolfgang Schweer ]
* data/bullseye: Update Debian Edu syslinux splash image from
src:debian-edu-artwork 2.11.4-1.
[ Holger Levsen ]
* tools/which_deb: Apply patch by JH Chatenet to fix problems with local xz
compressed Packages files. Closes: #968668
-- Wolfgang Schweer <wschweer@arcor.de> Tue, 02 Feb 2021 13:36:04 +0100
debian-cd (3.1.32) unstable; urgency=medium

View File

@ -76,7 +76,7 @@ sub grab_bin_info {
}
my $pxz = "$pth/$component/binary-$arch/Packages.xz";
if ( $component eq 'local' and $ENV{LOCALDEBS} ) {
$pgz = "$ENV{LOCALDEBS}/dists/$codename/local/binary-$arch/Packages.xz";
$pxz = "$ENV{LOCALDEBS}/dists/$codename/local/binary-$arch/Packages.xz";
}
if (-e $pgz) {
open(PFILE, "zcat $pgz |") or