Remove uncompressed translation files after compressing them

Backported from unstable, bugfix needed for building on jessie it
seems
This commit is contained in:
Steve McIntyre 2015-05-13 00:34:05 +01:00
parent 6acd330376
commit 63dd4a07d0
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View File

@ -3,7 +3,9 @@ debian-cd (3.1.17-jessie) UNRELEASED; urgency=medium
* Backports of fixes from debian-cd in unstable:
+ Remove mention of desktop choice from yaboot boot messages
(Closes: #783569)
+ Remove uncompressed translation files after compressing them
-- Steve McIntyre <93sam@debian.org> Mon, 20 Apr 2015 12:36:57 +0100
debian-cd (3.1.17) unstable; urgency=medium

View File

@ -601,6 +601,7 @@ sub recompress {
if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
system("gzip -9c < $_ >$_.gz");
unlink ($_);
}
}