Add more logging around the recompress() step

This commit is contained in:
Steve McIntyre 2019-07-06 10:42:27 +01:00
parent 389917c003
commit a06b008b2f
1 changed files with 2 additions and 0 deletions

View File

@ -647,11 +647,13 @@ sub recompress {
# Packages and Sources files; workaround for bug #402482
if ($filename =~ m/\/.*\/(Packages|Sources)$/o) {
print " Recompressing $filename\n";
system("gzip -9c < $_ >$_.gz");
}
# Translation files need to be compressed in .gz format on CD?
if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
print " Recompressing $filename\n";
system("gzip -9c < $_ >$_.gz");
}
}