summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-20 16:32:50 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-20 16:32:50 +0000
commit34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d (patch)
tree9703de1b17ad342e62d78e2587cdc677ac66b330
parent2866b54b63850bcfbd7fc160d3a7c70febf7ea86 (diff)
downloadurpmi-34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d.tar
urpmi-34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d.tar.gz
urpmi-34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d.tar.bz2
urpmi-34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d.tar.xz
urpmi-34968e6aab2aaa7b935c7ac1c7f2f35e6b73287d.zip
add aria2 to the priority list of packages that need to be updated
before restarting urpmi (should we try to update libcares & libssl too???) (this should probably be backported in the 2009.0 branch)
-rw-r--r--NEWS2
-rw-r--r--urpm/select.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fe4844e4..e4db4a63 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- urpmi
o --auto: do not prompt for "retry" on aria2 download failure
(regression introduced in 6.18)
+ o add aria2 to the priority list of packages that need to be updated
+ before restarting urpmi
- urpmi_rpm-find-leaves
o do not list suggested packages as unrequested packages (#46326)
diff --git a/urpm/select.pm b/urpm/select.pm
index 11a2823e..7f93976a 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -7,7 +7,7 @@ use urpm::util;
use urpm::sys;
use URPM;
-my $default_priority_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc';
+my $default_priority_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc,aria2';
my @priority_list = split(',', $default_priority_list);
my $evr_re = qr/[^\-]*-[^\-]*\.[^\.\-]*$/;