summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 37856713d..3a989f53a 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -431,7 +431,7 @@ sub load_mo {
my $f = "$localedir/$_/$suffix";
-s $f and return $_;
- if ($::isInstall) {
+ if ($::isInstall && common::usingRamdisk()) {
# cleanup
eval { commands::rm("-r", $localedir) };
eval { commands::mkdir_("-p", dirname("$localedir/$_/$suffix")) };