More tweaks for Translation files

This commit is contained in:
Steve McIntyre 2019-08-13 07:54:51 +01:00
parent 2dd3e8e8c0
commit 9acb8c5796
1 changed files with 2 additions and 0 deletions

View File

@ -1082,6 +1082,7 @@ sub add_trans_desc_entry {
# so, we'll need to uncompress again on entry here.
if (-f "$trans_file.gz") {
system("rm -f $trans_file");
system("gunzip $trans_file.gz");
}
@ -1253,6 +1254,7 @@ sub remove_trans_desc_entry {
# Keeping files in .gz format is expensive - see comment
# in add_trans_desc_entry() above.
if (-f "$trans_file.gz") {
system("rm -f $trans_file");
system("gunzip $trans_file.gz");
}
$st = stat("$trans_file") || die "unable to stat $trans_file\n";