summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-14 20:08:30 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-14 20:08:30 +0000
commit62a2463c306d124eb012015a64283feabdece84d (patch)
tree6e370a60d68d9f603f4f5bea361cb86160abfe58 /perl-install
parent3b3a1ac88fd7474e3b1c904b8f16385372a7e3a8 (diff)
downloaddrakx-62a2463c306d124eb012015a64283feabdece84d.tar
drakx-62a2463c306d124eb012015a64283feabdece84d.tar.gz
drakx-62a2463c306d124eb012015a64283feabdece84d.tar.bz2
drakx-62a2463c306d124eb012015a64283feabdece84d.tar.xz
drakx-62a2463c306d124eb012015a64283feabdece84d.zip
fix check for missing help (it's a directory path if help cannot be found)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rwxr-xr-xperl-install/standalone/drakhelp2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index ee43447e4..8b0e3f2e8 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakhelp
+ o fix check for missing help
+
Version 12.51 - 8 September 2009
- display_help
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp
index eea4644bd..8117d5b7b 100755
--- a/perl-install/standalone/drakhelp
+++ b/perl-install/standalone/drakhelp
@@ -43,7 +43,7 @@ if (! -e $instpath) {
}
}
-if (-e $instpath) {
+if (-f $instpath) {
local $ENV{HOME} = '/root' if !$<;
run_program::raw({ detach => 1 }, 'display_help', "file://$ancpath");
} else {