More tweaks for Translation files
This commit is contained in:
parent
2dd3e8e8c0
commit
9acb8c5796
|
@ -1082,6 +1082,7 @@ sub add_trans_desc_entry {
|
||||||
# so, we'll need to uncompress again on entry here.
|
# so, we'll need to uncompress again on entry here.
|
||||||
|
|
||||||
if (-f "$trans_file.gz") {
|
if (-f "$trans_file.gz") {
|
||||||
|
system("rm -f $trans_file");
|
||||||
system("gunzip $trans_file.gz");
|
system("gunzip $trans_file.gz");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1253,6 +1254,7 @@ sub remove_trans_desc_entry {
|
||||||
# Keeping files in .gz format is expensive - see comment
|
# Keeping files in .gz format is expensive - see comment
|
||||||
# in add_trans_desc_entry() above.
|
# in add_trans_desc_entry() above.
|
||||||
if (-f "$trans_file.gz") {
|
if (-f "$trans_file.gz") {
|
||||||
|
system("rm -f $trans_file");
|
||||||
system("gunzip $trans_file.gz");
|
system("gunzip $trans_file.gz");
|
||||||
}
|
}
|
||||||
$st = stat("$trans_file") || die "unable to stat $trans_file\n";
|
$st = stat("$trans_file") || die "unable to stat $trans_file\n";
|
||||||
|
|
Loading…
Reference in New Issue