summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-10-10 22:25:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-10-10 22:25:12 +0000
commita50a776121eeeced706c65450db1242de24ee4db (patch)
treeec57db9fed7b60e19be7e769b3ccb5b6ae2c03ce /perl-install/interactive.pm
parenta640865dc675dc109036d62858100880839d86fa (diff)
downloaddrakx-backup-do-not-use-a50a776121eeeced706c65450db1242de24ee4db.tar
drakx-backup-do-not-use-a50a776121eeeced706c65450db1242de24ee4db.tar.gz
drakx-backup-do-not-use-a50a776121eeeced706c65450db1242de24ee4db.tar.bz2
drakx-backup-do-not-use-a50a776121eeeced706c65450db1242de24ee4db.tar.xz
drakx-backup-do-not-use-a50a776121eeeced706c65450db1242de24ee4db.zip
normalize the default type entry ("entry")
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index b6c93b8e7..931ad9e30 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -262,6 +262,8 @@ sub ask_from_normalize {
} elsif ($e->{type} eq 'label' || !ref($e->{val})) {
$e->{type} = 'label';
$e->{val} = \ (my $v = $e->{val}) if !ref($e->{val});
+ } else {
+ $e->{type} ||= 'entry';
}
$e->{disabled} ||= sub { 0 };
}