diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/drakhelp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp index 4b041c876..592ed097e 100644 --- a/perl-install/standalone/drakhelp +++ b/perl-install/standalone/drakhelp @@ -16,7 +16,7 @@ die "Usage: drakhelp <help_path>" if @ARGV != 1; my $in = interactive->vnew; my $locale = lang::read('', $>); -if (!member($locale->{lang}, qw(de en es fr it ru))) { $locale->{lang} = 'en' }; +$locale->{lang} = 'en' unless member($locale->{lang}, qw(de en es fr it ru)); my $path2help = "/usr/share/doc/mandrake/" . $locale->{lang} . "/"; my $path = $ARGV[0] =~ /^http|^www/ ? $ARGV[0] : $path2help . $ARGV[0]; |