From d2c0d875c873ef33f5ea8857e39c3b2a94149b5b Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Fri, 28 Feb 2003 19:56:01 +0000 Subject: - fix the check of mandrake_doc installed package (gc) --- perl-install/standalone/drakhelp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp index fbbf16eca..4b041c876 100644 --- a/perl-install/standalone/drakhelp +++ b/perl-install/standalone/drakhelp @@ -18,10 +18,10 @@ my $in = interactive->vnew; my $locale = lang::read('', $>); if (!member($locale->{lang}, qw(de en es fr it ru))) { $locale->{lang} = 'en' }; my $path2help = "/usr/share/doc/mandrake/" . $locale->{lang} . "/"; --d $path2help or $in->do_pkgs->install('mandrake_doc-drakxtools-' . $locale->{lang}); - my $path = $ARGV[0] =~ /^http|^www/ ? $ARGV[0] : $path2help . $ARGV[0]; +-e $path or $in->do_pkgs->install('mandrake_doc-drakxtools-' . $locale->{lang}); + my $wm = any::running_window_manager(); my %launchhelp = ( 'kwin' => sub { system("mdklaunchhelp " . $path . "&") }, -- cgit v1.2.1