diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 16:46:50 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-05-28 16:46:50 +0000 |
commit | 098c2b0614d554342a993f52215d72431f1523d7 (patch) | |
tree | 66c3fa040a30c6ff69469c8867fb5a17602b606f /rpmdrake.pm | |
parent | 6b199fa1e54cca881198c96ed71b4faebdc719b2 (diff) | |
download | rpmdrake-098c2b0614d554342a993f52215d72431f1523d7.tar rpmdrake-098c2b0614d554342a993f52215d72431f1523d7.tar.gz rpmdrake-098c2b0614d554342a993f52215d72431f1523d7.tar.bz2 rpmdrake-098c2b0614d554342a993f52215d72431f1523d7.tar.xz rpmdrake-098c2b0614d554342a993f52215d72431f1523d7.zip |
adding an update source: fix sorting according to tz
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index a82371e6..5709cb2a 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -277,7 +277,7 @@ sub mirrors { } else { () } } cat_($mirrorslist); unlink $mirrorslist; - return sort { $::b->{goodness} <=> $::a->{goodness} } @mirrors; + return sort { $b->{goodness} <=> $a->{goodness} } @mirrors; } sub choose_mirror { |