summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-20 10:00:11 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-20 10:00:11 +0000
commit5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0 (patch)
treeacc4832510b4d4920de9c588302bdda17ac7c1f6
parentfd38b45baba0dc707b9f9e5cafbd68396f69e6bf (diff)
downloadurpmi-5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0.tar
urpmi-5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0.tar.gz
urpmi-5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0.tar.bz2
urpmi-5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0.tar.xz
urpmi-5e175c8d3b018fe306a31e2a8d64ab9a68b70cb0.zip
avoid removing directory for bug report, this way, it becomes more secure.
-rwxr-xr-xurpmi1
1 files changed, 0 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 3c0e45d7..10b7a570 100755
--- a/urpmi
+++ b/urpmi
@@ -218,7 +218,6 @@ if ($install_src) {
#- prepare bug report.
if ($bug) {
- system("rm", "-rf", $bug);
mkdir $bug or $urpm->{fatal}(8, _("Unable to create directory [%s] for bug report", $bug));
#- copy all synthesis file used, along with configuration of urpmi
system("cp", "-af", $urpm->{config}, $urpm->{skiplist}, $urpm->{instlist}, $bug);