aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-10 11:22:14 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-10 11:22:14 +0000
commitd7befa43ac3485aba12f4cfec3100304d38584d4 (patch)
tree42896821d9551e40fd44f04187faeca3ea1f2306
parenta65de9d24adec44ef25d738c0f7c8175a71d3d53 (diff)
downloadrpmdrake-d7befa43ac3485aba12f4cfec3100304d38584d4.tar
rpmdrake-d7befa43ac3485aba12f4cfec3100304d38584d4.tar.gz
rpmdrake-d7befa43ac3485aba12f4cfec3100304d38584d4.tar.bz2
rpmdrake-d7befa43ac3485aba12f4cfec3100304d38584d4.tar.xz
rpmdrake-d7befa43ac3485aba12f4cfec3100304d38584d4.zip
(fast_open_urpmi_db) fix using --justdb option
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/open_db.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index fad7513b..e13926c3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix using --justdb option
- MandrivaUpdate:
o warn when rebooting is needed after installing packages
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 88b68d5b..e86ab17c 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -83,7 +83,7 @@ sub fast_open_urpmi_db() {
urpm::set_env($urpm, $::env);
}
- $urpm::args::rpmdrake_options{justdb} = $::rpmdrake_options{justdb};
+ $urpm::args::options{justdb} = $::rpmdrake_options{justdb};
$urpm->{fatal} = sub {
$error_happened = 1;