summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakhelp
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakhelp')
-rwxr-xr-xperl-install/standalone/drakhelp6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakhelp b/perl-install/standalone/drakhelp
index 39781da91..c2b46979a 100755
--- a/perl-install/standalone/drakhelp
+++ b/perl-install/standalone/drakhelp
@@ -27,7 +27,7 @@ Usage:
exit(0);
}
my ($opt, $idlabel) = @ARGV;
-@ARGV == 2 && ($opt eq '--id' || $opt eq '--doc' || $opt eq '--help') or usage();
+@ARGV == 2 && member($opt, qw(--id --doc --help)) or usage();
@@ -48,7 +48,7 @@ if (-f $instpath) {
local $ENV{HOME} = '/root' if !$<;
run_program::raw({ detach => 1 }, 'display_help', "file://$ancpath");
} else {
- $ugtk2::wm_icon = "help";
+ $ugtk3::wm_icon = "help";
my $in = interactive->vnew;
- $in->ask_warn(N("%s Help Center"), N("No Help entry for %s\n", $idlabel));
+ $in->ask_warn(N("%s Help Center", N("Mageia")), N("No Help entry for %s\n", $idlabel));
}