diff options
author | Daouda Lo <daouda@mandriva.com> | 2003-02-28 19:56:01 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2003-02-28 19:56:01 +0000 |
commit | d2c0d875c873ef33f5ea8857e39c3b2a94149b5b (patch) | |
tree | b270c6903dd71a8efc9558641f3c98cd21179dd1 /perl-install/standalone/drakhelp | |
parent | 1cfeb7f7e138cc32ab980f76a78c4444ab9a7dd0 (diff) | |
download | drakx-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/drakhelp | 4 |
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 . "&") }, |