[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767253: Please provide hashes for uncompressed Translation-*

Hi CD Team,

sry for digging out old archived bugs¹, but in this case it seems
justified to perform the dark art of bugreport necromancy:

Downloading a current netinst iso and looking at the included Release
file shows that the hashes for uncompressed Translation files aren't
there which in turn means apt isn't making use of the translations
shipped in this way.

I haven't tried the attached patch which basically reverts the breaking
one-line change, so take it with a pinch of salt, but I am hopeful it

Thanks for considering & best regards

David Kalnischkies

¹ in a separate mail to control@ as I have no idea if that would work
with Control pseudo headers and don't feel like trying today.
From 8b1b3c7bb8d661b85b1d4fb72f7a3532af9535fe Mon Sep 17 00:00:00 2001
From: David Kalnischkies <david@kalnischkies.de>
Date: Sun, 7 Jan 2018 17:06:40 +0100
Subject: [PATCH] Provide hashes for uncompressed Translation-* again

Implemented in 2f34797490e328185e89972fafca4e2d15e5c2da for bug #767253
released a few months later in v3.1.17, but then broken again a few days
later in 9dd0616b78ff11123ae027016ddec0079e054cf2 by removing the
uncompressed files too early.
 tools/make_disc_trees.pl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/make_disc_trees.pl b/tools/make_disc_trees.pl
index e47610f..61dadd4 100755
--- a/tools/make_disc_trees.pl
+++ b/tools/make_disc_trees.pl
@@ -652,7 +652,6 @@ sub recompress {
 	if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
 		! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
 		system("gzip -9c < $_ >$_.gz");
-		unlink ($_);

Attachment: signature.asc
Description: PGP signature

Reply to: