diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-10-10 22:25:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-10-10 22:25:12 +0000 |
commit | a50a776121eeeced706c65450db1242de24ee4db (patch) | |
tree | ec57db9fed7b60e19be7e769b3ccb5b6ae2c03ce /perl-install/interactive.pm | |
parent | a640865dc675dc109036d62858100880839d86fa (diff) | |
download | drakx-a50a776121eeeced706c65450db1242de24ee4db.tar drakx-a50a776121eeeced706c65450db1242de24ee4db.tar.gz drakx-a50a776121eeeced706c65450db1242de24ee4db.tar.bz2 drakx-a50a776121eeeced706c65450db1242de24ee4db.tar.xz drakx-a50a776121eeeced706c65450db1242de24ee4db.zip |
normalize the default type entry ("entry")
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 2 |
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 }; } |