summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-24 12:58:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-24 12:58:31 +0000
commit5bbd68f0ab37819659633f6392c9f546be62335f (patch)
tree33c8f96d9af3609762603ab9a9234a493c5dd37c
parent9676a46126dfcee87d92004e77e87d6de3c9e3bb (diff)
downloaddrakx-backup-do-not-use-5bbd68f0ab37819659633f6392c9f546be62335f.tar
drakx-backup-do-not-use-5bbd68f0ab37819659633f6392c9f546be62335f.tar.gz
drakx-backup-do-not-use-5bbd68f0ab37819659633f6392c9f546be62335f.tar.bz2
drakx-backup-do-not-use-5bbd68f0ab37819659633f6392c9f546be62335f.tar.xz
drakx-backup-do-not-use-5bbd68f0ab37819659633f6392c9f546be62335f.zip
(load_mo): if not usingRamdisk, don't try getFile
-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")) };