summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/display_installer_help
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/display_installer_help')
-rwxr-xr-xperl-install/standalone/display_installer_help7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/standalone/display_installer_help b/perl-install/standalone/display_installer_help
index 09c6bae31..165ae6729 100755
--- a/perl-install/standalone/display_installer_help
+++ b/perl-install/standalone/display_installer_help
@@ -21,10 +21,15 @@ use lib qw(/usr/lib/libDrakX);
use interactive;
use any;
+# so that screenshots works:
+use install::any;
+$::isInstall = 1;
+
my $in = 'interactive'->vnew('su');
# so that we popup above drakx:
any::set_wm_hints_if_needed($in);
# Fake enough $o for retrieving the proper translation:
-$o->{locale}{lang} = $ARGV[1];
+$::o = $in;
+$::o->{locale}{lang} = $ARGV[1];
$in->display_help_window({ interactive_help_id => $ARGV[0] });