Remove uncompressed translation files after compressing them
Backported from unstable, bugfix needed for building on jessie it seems
This commit is contained in:
parent
6acd330376
commit
63dd4a07d0
|
@ -3,7 +3,9 @@ debian-cd (3.1.17-jessie) UNRELEASED; urgency=medium
|
||||||
* Backports of fixes from debian-cd in unstable:
|
* Backports of fixes from debian-cd in unstable:
|
||||||
+ Remove mention of desktop choice from yaboot boot messages
|
+ Remove mention of desktop choice from yaboot boot messages
|
||||||
(Closes: #783569)
|
(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
|
debian-cd (3.1.17) unstable; urgency=medium
|
||||||
|
|
||||||
|
|
|
@ -601,6 +601,7 @@ sub recompress {
|
||||||
if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
|
if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
|
||||||
! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
|
! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
|
||||||
system("gzip -9c < $_ >$_.gz");
|
system("gzip -9c < $_ >$_.gz");
|
||||||
|
unlink ($_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue