From 390d0a1d332cd190d217047619dd970191048340 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 1 Apr 2003 13:17:36 +0000 Subject: simplify --- perl-install/standalone/drakhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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 " 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]; -- cgit v1.2.1