summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:45:21 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 13:45:21 +0000
commitfb730ae27d52fbbe3f0d43ac786187f891f1e3d9 (patch)
tree04d27b8ff89bdf4e3aabd0741bca01fb422aa82b /perl-install/standalone/drakhelp
parent5a06e5878810926ff882dfab965b61228827f65b (diff)
downloaddrakx-backup-do-not-use-fb730ae27d52fbbe3f0d43ac786187f891f1e3d9.tar
drakx-backup-do-not-use-fb730ae27d52fbbe3f0d43ac786187f891f1e3d9.tar.gz
drakx-backup-do-not-use-fb730ae27d52fbbe3f0d43ac786187f891f1e3d9.tar.bz2
drakx-backup-do-not-use-fb730ae27d52fbbe3f0d43ac786187f891f1e3d9.tar.xz
drakx-backup-do-not-use-fb730ae27d52fbbe3f0d43ac786187f891f1e3d9.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 4e4716684..ab8a1b9df 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";