From 468ce21f10af58b8cb2b60dc2733c7478362b218 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Sep 2008 15:08:01 +0000 Subject: - urpmi o enhance --bug: copy installed-through-deps.list in bug report --- NEWS | 2 ++ urpm/bug_report.pm | 3 +++ 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 8da4a56e..60d42347 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ - fix proxy parameter for aria2 - remove rsync mirrors when calling aria2 +- urpmi + o enhance --bug: copy installed-through-deps.list in bug report - gurpmi, gurpmi2: o silence perl warnings (ie remove "use warnings") - library: diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm index 05b34d0a..afc874aa 100644 --- a/urpm/bug_report.pm +++ b/urpm/bug_report.pm @@ -36,6 +36,9 @@ sub write_urpmdb { #- fake configuration written to convert virtual media on the fly. local $urpm->{config} = "$bug_report_dir/urpmi.cfg"; urpm::media::write_config($urpm); + + require urpm::orphans; + system('cp', urpm::orphans::unrequested_list__file($urpm), $bug_report_dir); } sub copy_requested { -- cgit v1.2.1