summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-14 20:56:05 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-14 20:56:05 +0000
commit46d548a4440c808dd7b9e5dc8947506c64838ef2 (patch)
tree93a7c8a2fa80dbde5ebb32527948d3526d60b84f
parentefe3da7770ba2c006003238741a227b2904175ee (diff)
downloadurpmi-46d548a4440c808dd7b9e5dc8947506c64838ef2.tar
urpmi-46d548a4440c808dd7b9e5dc8947506c64838ef2.tar.gz
urpmi-46d548a4440c808dd7b9e5dc8947506c64838ef2.tar.bz2
urpmi-46d548a4440c808dd7b9e5dc8947506c64838ef2.tar.xz
urpmi-46d548a4440c808dd7b9e5dc8947506c64838ef2.zip
(run) --test: do not update /var/lib/rpm/installed-through-deps.list again & again
-rw-r--r--NEWS1
-rw-r--r--urpm/main_loop.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b9fba4dd..93e2129e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- urpmi:
o --test: do not display "More information on package"
+ o --test: do not update /var/lib/rpm/installed-through-deps.list
Version 6.44 - 07 February 2012
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 25f5ef08..f9e9f37e 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -274,7 +274,7 @@ sub run {
raw_message => 1,
);
- urpm::orphans::add_unrequested($urpm, $state);
+ urpm::orphans::add_unrequested($urpm, $state) if !$test;
install:
my @l = urpm::install::install($urpm,