aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-05-28 16:46:50 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-05-28 16:46:50 +0000
commit098c2b0614d554342a993f52215d72431f1523d7 (patch)
tree66c3fa040a30c6ff69469c8867fb5a17602b606f
parent6b199fa1e54cca881198c96ed71b4faebdc719b2 (diff)
downloadrpmdrake-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
-rw-r--r--rpmdrake.pm2
-rw-r--r--rpmdrake.spec1
2 files changed, 2 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 {
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 9cbcfef2..b5314cd4 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -106,6 +106,7 @@ rm -rf $RPM_BUILD_ROOT
- add ability to run the rpmdrake suite as a user (you can browse
packages but can't modify the system)
- edit-medias: remove weird looking Save&Quit / Quit buttons, use Ok only
+- adding an update source: fix sorting according to tz
* Fri May 16 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-20mdk
- perl-URPM API change: gives architecture in ask_remove