summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:13:37 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:13:37 +0000
commit16b86cca6fa2a49687d9fc75781726c1c2d6ac90 (patch)
treee5d6708ad3bb7dae08eafbd6806f316acb4ba19a /perl-install/standalone/drakhelp
parent30a1ab53da96801eb89f3632cc5b8e4951a1b73c (diff)
downloaddrakx-16b86cca6fa2a49687d9fc75781726c1c2d6ac90.tar
drakx-16b86cca6fa2a49687d9fc75781726c1c2d6ac90.tar.gz
drakx-16b86cca6fa2a49687d9fc75781726c1c2d6ac90.tar.bz2
drakx-16b86cca6fa2a49687d9fc75781726c1c2d6ac90.tar.xz
drakx-16b86cca6fa2a49687d9fc75781726c1c2d6ac90.zip
- drakhelp : fix firefox launch bug #29775
Diffstat (limited to 'perl-install/standalone/drakhelp')
-rwxr-xr-xperl-install/standalone/drakhelp2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp
index 3eaf580cc..9f23a0353 100755
--- a/perl-install/standalone/drakhelp
+++ b/perl-install/standalone/drakhelp
@@ -44,7 +44,7 @@ if (! -e $instpath) {
}
if (-e $instpath) {
- local $ENV{HOME} = '/root';
+ local $ENV{HOME} = '/root' if !$<;
run_program::raw({ detach => 1 }, '/usr/bin/www-browser', "file://$ancpath");
} else {
$ugtk2::wm_icon = "help";