summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-27 13:24:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-27 13:24:20 +0000
commitf22bc5bd2fd3db7fccb1feb3fb2879ff44954315 (patch)
tree29601a5b7cb5f6e4d52d4f326daf5b7ce3420b4c
parent2315f7d8b759266ad038ef9f0c89a4a089d839b8 (diff)
downloadurpmi-f22bc5bd2fd3db7fccb1feb3fb2879ff44954315.tar
urpmi-f22bc5bd2fd3db7fccb1feb3fb2879ff44954315.tar.gz
urpmi-f22bc5bd2fd3db7fccb1feb3fb2879ff44954315.tar.bz2
urpmi-f22bc5bd2fd3db7fccb1feb3fb2879ff44954315.tar.xz
urpmi-f22bc5bd2fd3db7fccb1feb3fb2879ff44954315.zip
--env is used for debugging, so don't clobber urpmi.log from bug report
(it also fixes fork mess when debugging)
-rwxr-xr-xurpmi2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpmi b/urpmi
index a5a72fa5..c3ff28f7 100755
--- a/urpmi
+++ b/urpmi
@@ -252,8 +252,6 @@ if ($bug) {
if ($env) {
-d $env or $urpm->{fatal}(8, N("Environment directory %s does not exist", $env));
print N("using specific environment on %s\n", $env);
- $logfile = "$env/urpmi_env.log";
- unlink $logfile;
#- setting new environment.
$urpm->{config} = "$env/urpmi.cfg";
$urpm->{skiplist} = "$env/skip.list";