diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-22 15:46:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-22 15:46:37 +0000 |
commit | c4110f9cf07c60fd3305f33bc2f62df9f2dd44ef (patch) | |
tree | 2f3c853165f2d846a5aca7fd913400231845559d | |
parent | 6e78f94daaf9d815470a6e789e16e3834e520fdd (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/keyboard.pm | 2 | ||||
-rw-r--r-- | perl-install/lang.pm | 2 |
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() ]); |