summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakhelp4
1 files 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 . "&") },