summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-22 15:46:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-22 15:46:37 +0000
commitc4110f9cf07c60fd3305f33bc2f62df9f2dd44ef (patch)
tree2f3c853165f2d846a5aca7fd913400231845559d /perl-install
parent6e78f94daaf9d815470a6e789e16e3834e520fdd (diff)
downloaddrakx-c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef.tar
drakx-c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef.tar.gz
drakx-c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef.tar.bz2
drakx-c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef.tar.xz
drakx-c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef.zip
use invalid instead of unknown for errors when checking
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/keyboard.pm2
-rw-r--r--perl-install/lang.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/keyboard.pm b/perl-install/keyboard.pm
index a7d118470..f6eb9842d 100644
--- a/perl-install/keyboard.pm
+++ b/perl-install/keyboard.pm
@@ -321,7 +321,7 @@ sub loadkeys_files {
@l{grep { -e $_ } ("$p/$1.inc.gz")} = ();
}
} else {
- $err->("unknown loadkeys keytable $_") if $err;
+ $err->("invalid loadkeys keytable $_") if $err;
}
}
@l, keys %l, grep { -e $_ } map { "$p/$_.inc.gz" } qw(compose euro windowkeys linux-keys-bare);
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 6019231cd..ba7283e79 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -808,7 +808,7 @@ sub check {
};
my @wanted_charsets = uniq map { lang2charset($_) } list();
- $err->("unknown charset $_ ($_ does not exist in \%charsets)") foreach difference2(\@wanted_charsets, [ keys %charsets ]);
+ $err->("invalid charset $_ ($_ does not exist in \%charsets)") foreach difference2(\@wanted_charsets, [ keys %charsets ]);
$warn->("unused charset $_ (given in \%charsets, but not used in \%languages)") foreach difference2([ keys %charsets ], \@wanted_charsets);
$warn->("unused entry $_ in \%xim") foreach difference2([ keys %xim ], [ list() ]);