summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 6d8f3b73b..bb3d63a4f 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -314,6 +314,9 @@ sub ask_from_normalize {
}
} @$l;
+ if (!$common->{title} && $::isStandalone) {
+ ($common->{title} = $0) =~ s|.*/||;
+ }
$common->{advanced_label} ||= _("Advanced");
$common->{advanced_label_close} ||= _("Basic");
$common->{$_} = [ deref($common->{$_}) ] foreach qw(messages advanced_messages);