summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2003-02-28 19:56:01 +0000
committerDaouda Lo <daouda@mandriva.com>2003-02-28 19:56:01 +0000
commitd2c0d875c873ef33f5ea8857e39c3b2a94149b5b (patch)
treeb270c6903dd71a8efc9558641f3c98cd21179dd1 /perl-install/standalone/drakhelp
parent1cfeb7f7e138cc32ab980f76a78c4444ab9a7dd0 (diff)
downloaddrakx-backup-do-not-use-d2c0d875c873ef33f5ea8857e39c3b2a94149b5b.tar
drakx-backup-do-not-use-d2c0d875c873ef33f5ea8857e39c3b2a94149b5b.tar.gz
drakx-backup-do-not-use-d2c0d875c873ef33f5ea8857e39c3b2a94149b5b.tar.bz2
drakx-backup-do-not-use-d2c0d875c873ef33f5ea8857e39c3b2a94149b5b.tar.xz
drakx-backup-do-not-use-d2c0d875c873ef33f5ea8857e39c3b2a94149b5b.zip
- fix the check of mandrake_doc installed package (gc)
Diffstat (limited to 'perl-install/standalone/drakhelp')
-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 . "&") },