summaryrefslogtreecommitdiffstats
path: root/drakwizard.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakwizard.pl')
-rwxr-xr-xdrakwizard.pl14
1 files changed, 13 insertions, 1 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index f79c163e..dc2b74a6 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -89,7 +89,19 @@ if (/-summary/) {
while ($::isSummary--) {
push @$data, '';
}
- $in->ask_from("summary", "", $data) && $::{$perl_module_name."::"}{"$summary_func"}->();
+
+ if ($in->ask_from("summary", translate($summary->{info}), $data)) {
+ foreach (@{$summary->{freetext}}) {
+ if ($_->{main_order} eq 'bool') {
+ $ENV{$variable{$_->{variableName}}} = $ENV{$variable{$_->{variableName}}} ? 1 : 0;
+ $description{$ENV{$variable{$_->{variableName}}}} = $ENV{$variable{$_->{variableName}}} ? N("enabled") : N("disabled");
+ }
+ elsif ($_->{main_order} eq 'combo') {
+ $ENV{$variable{$_->{variableName}}} = $chooser_hash{$ENV{$variable{$_->{variableName}}}};
+ }
+ }
+ $::{$perl_module_name."::"}{"$summary_func"}->();
+ }
}
else {
get_parameter($o, $xmltree);