When compressing translations, remove the uncompressed version

It may cause build problems later if we keep it around
This commit is contained in:
Steve McIntyre 2020-12-15 11:44:56 +00:00
parent 45c0531c78
commit c7dcd37aec
1 changed files with 1 additions and 0 deletions

View File

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