diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-01 13:17:36 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-04-01 13:17:36 +0000 |
commit | 390d0a1d332cd190d217047619dd970191048340 (patch) | |
tree | 2b7ac2e4c1f802bf086eed48e30d5e97b60fd123 | |
parent | 33431ad9a921d8f2fd04d66a4a36175a1816ffb9 (diff) | |
download | drakx-backup-do-not-use-390d0a1d332cd190d217047619dd970191048340.tar drakx-backup-do-not-use-390d0a1d332cd190d217047619dd970191048340.tar.gz drakx-backup-do-not-use-390d0a1d332cd190d217047619dd970191048340.tar.bz2 drakx-backup-do-not-use-390d0a1d332cd190d217047619dd970191048340.tar.xz drakx-backup-do-not-use-390d0a1d332cd190d217047619dd970191048340.zip |
simplify
-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]; |