summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/bug_report.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm
index afc874aa..5b120f97 100644
--- a/urpm/bug_report.pm
+++ b/urpm/bug_report.pm
@@ -31,6 +31,9 @@ sub write_urpmdb {
if (urpm::media::is_valid_medium($_)) {
system('cp', urpm::media::any_synthesis($urpm, $_),
"$bug_report_dir/" . urpm::media::synthesis($_)) == 0 or $urpm->{fatal}(1, "failed to copy $_->{name} synthesis");
+ my $descr_file = urpm::media::statedir_descriptions($urpm, $_);
+ system('cp', $descr_file,
+ "$bug_report_dir/") if -e $descr_file;
}
}
#- fake configuration written to convert virtual media on the fly.