Remove uncompressed translation files after compressing them

This commit is contained in:
Steve McIntyre 2015-05-02 00:34:38 +01:00
parent 1228b3724a
commit 9dd0616b78
1 changed files with 1 additions and 0 deletions

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 ($_);
}
}