summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-02-25 11:45:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-02-25 11:45:13 +0000
commit5cb4181c9d1488e4025a5358cea6f1e7fda862a9 (patch)
tree8abc36efbe5b5bed3f7c7dd37f5a054be58b8856 /perl-install/lang.pm
parent6c10593611f0375bce2c5fdf1b55c9be03f9c734 (diff)
downloaddrakx-backup-do-not-use-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar
drakx-backup-do-not-use-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.gz
drakx-backup-do-not-use-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.bz2
drakx-backup-do-not-use-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.tar.xz
drakx-backup-do-not-use-5cb4181c9d1488e4025a5358cea6f1e7fda862a9.zip
no_comment
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 aa7087390..b75ea5c01 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -283,7 +283,7 @@ sub load_po($) {
$f = commands::install_cpio("$f/po", "$lang.po");
}
local *F;
- unless (-e $f) {
+ unless ($f && -e $f) {
-e ($f = "$_/po/$lang.po.bz2") and last foreach @INC;
if (-e $f) {
open F, "bzip2 -dc $f 2>/dev/null |";