summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-01 17:25:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-01 17:25:36 +0000
commitf2582ad1ea032aed6588591829bfe482c7e56208 (patch)
tree1370747413832efb39d1b0e9106ec264dfa975fe /perl-install
parentaf3493bb9c8a58c0d5fdad8510d2ceba5263c199 (diff)
downloaddrakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar
drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.gz
drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.bz2
drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.tar.xz
drakx-backup-do-not-use-f2582ad1ea032aed6588591829bfe482c7e56208.zip
(ask_from_entries_refH_powered_normalize): fix option sort=>0
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 7121689f0..dcd8cc1e3 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -212,7 +212,7 @@ sub ask_from_entries_refH_powered_normalize {
foreach my $e (@$l) {
if (my $l = $e->{list}) {
- if ($e->{sort} || @$l > 10 && !$e->{sort}) {
+ if ($e->{sort} || @$l > 10 && !exists $e->{sort}) {
my @l2 = map { may_apply($e->{format}, $_) } @$l;
my @places = sort { $l2[$a] cmp $l2[$b] } 0 .. $#l2;
$e->{list} = $l = [ map { $l->[$_] } @places ];