Remove uncompressed translation files after compressing them
This commit is contained in:
parent
1228b3724a
commit
9dd0616b78
|
@ -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