aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;