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 1ec2625c80
commit 9d11b2311e
1 changed files with 1 additions and 0 deletions

View File

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