aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 15:41:49 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 15:41:49 +0000
commitfeaf5f5849c1f6ab9fa4cda1e312d4356d199490 (patch)
tree67727ed2dbdecda096116b1e4d6383111bab54c3
parentc633c2e1b8c9a62a4ec98f4320b45842fdea9703 (diff)
downloadrpmdrake-feaf5f5849c1f6ab9fa4cda1e312d4356d199490.tar
rpmdrake-feaf5f5849c1f6ab9fa4cda1e312d4356d199490.tar.gz
rpmdrake-feaf5f5849c1f6ab9fa4cda1e312d4356d199490.tar.bz2
rpmdrake-feaf5f5849c1f6ab9fa4cda1e312d4356d199490.tar.xz
rpmdrake-feaf5f5849c1f6ab9fa4cda1e312d4356d199490.zip
(fast_open_urpmi_db) handle --debug
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/open_db.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e25e0e62..b27ef38b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
o adapt to urpmi-6.6+ new API (which workaround urpmi API breakage
#43639)
o do not ignore some options
+ o handle --debug
- rpmdrake:
o update GUI package list
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 94ec9203..e663600b 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -68,6 +68,7 @@ sub fast_open_urpmi_db() {
$urpm->{options}{auto} = $::rpmdrake_options{auto} if defined $::rpmdrake_options{auto};
urpm::set_files($urpm, $::rpmdrake_options{'urpmi-root'}[0]) if $::rpmdrake_options{'urpmi-root'}[0];
urpm::args::set_root($urpm, $::rpmdrake_options{'rpm-root'}[0]) if $::rpmdrake_options{'rpm-root'}[0];
+ urpm::args::set_debug($urpm) if $::rpmdrake_options{'debug'};
$urpm::args::rpmdrake_options{justdb} = $::rpmdrake_options{justdb};