summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-24 10:46:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-24 10:46:30 +0000
commit1dfc06422978cbae04f06f13165d2aea37fac8e1 (patch)
tree6272b1add0068da59fe9f58ba818e617dd7a0a29 /perl-install/interactive.pm
parent2a0bbee296669686a3332e6595bc1021757249b0 (diff)
downloaddrakx-backup-do-not-use-1dfc06422978cbae04f06f13165d2aea37fac8e1.tar
drakx-backup-do-not-use-1dfc06422978cbae04f06f13165d2aea37fac8e1.tar.gz
drakx-backup-do-not-use-1dfc06422978cbae04f06f13165d2aea37fac8e1.tar.bz2
drakx-backup-do-not-use-1dfc06422978cbae04f06f13165d2aea37fac8e1.tar.xz
drakx-backup-do-not-use-1dfc06422978cbae04f06f13165d2aea37fac8e1.zip
no_comment
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 8cef5ed7e..46abd8628 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -228,8 +228,7 @@ sub ask_from_entries_ref($$$$;$%) {
{ val => $_ }
} else {
if (@{$_->{list} || []} > 1) {
- add2hash_($_, { not_edit => 1 });
- add2hash_($_, { type => 'list' });
+ add2hash_($_, { not_edit => 1, type => 'list' });
${$_->{val}} = $_->{list}[0] if $_->{not_edit} && !member(${$_->{val}}, @{$_->{list}});
}
$_;