summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-17 11:08:29 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-17 11:08:29 +0000
commit2639b27ce430ca9289c8a331a5c3de135956d535 (patch)
tree8f24d7da6f1b82dd46a2f72b258c9d03e679fc2b
parent4e2556beaaa04e50aa867cf685df1ec9bc1ad6fd (diff)
downloadurpmi-2639b27ce430ca9289c8a331a5c3de135956d535.tar
urpmi-2639b27ce430ca9289c8a331a5c3de135956d535.tar.gz
urpmi-2639b27ce430ca9289c8a331a5c3de135956d535.tar.bz2
urpmi-2639b27ce430ca9289c8a331a5c3de135956d535.tar.xz
urpmi-2639b27ce430ca9289c8a331a5c3de135956d535.zip
when using --bug, copy /root/.rpmdrake too
-rw-r--r--NEWS2
-rwxr-xr-xurpmi2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 892af8f9..7d5b84be 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- when using --bug, copy /root/.rpmdrake too
+
Version 6.11 - 11 September 2008, Pascal "Pixel" Rigaux
- library:
diff --git a/urpmi b/urpmi
index 541fb3a5..9d7bdffb 100755
--- a/urpmi
+++ b/urpmi
@@ -253,7 +253,7 @@ if ($bug) {
: N("Unable to create directory [%s] for bug report", $bug)));
#- copy all synthesis file used, along with configuration of urpmi
my @list_files = grep { -e $_ } $urpm->{skiplist}, $urpm->{instlist},
- $urpm->{prefer_list}, $urpm->{prefer_vendor_list};
+ $urpm->{prefer_list}, $urpm->{prefer_vendor_list}, '/root/.rpmdrake';
system("cp", "-af", @list_files, $urpm->{config}, $bug)
and die N("Copying failed");
#- log everything for bug report.