summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:46:48 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:46:48 +0000
commitcab732cea44dae8c2f10f5b7fc928939acf99153 (patch)
tree7afe8733ff91b6029887ea6e3b8e98b8a494cc82 /perl-install/standalone/drakhelp
parent2a2424528b4935a5b8843dddcd5816a16ea64528 (diff)
downloaddrakx-cab732cea44dae8c2f10f5b7fc928939acf99153.tar
drakx-cab732cea44dae8c2f10f5b7fc928939acf99153.tar.gz
drakx-cab732cea44dae8c2f10f5b7fc928939acf99153.tar.bz2
drakx-cab732cea44dae8c2f10f5b7fc928939acf99153.tar.xz
drakx-cab732cea44dae8c2f10f5b7fc928939acf99153.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";