summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 15:47:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 15:47:17 +0000
commitefe5b3dce043bfe0b215f0b4bd6d2dc44971b515 (patch)
tree25f3ed0fe1840de2902e42d42b8277eb92f9a7dd
parent26a255479b1b8cd15789a8bffaa0c37a96edc7e5 (diff)
downloadurpmi-efe5b3dce043bfe0b215f0b4bd6d2dc44971b515.tar
urpmi-efe5b3dce043bfe0b215f0b4bd6d2dc44971b515.tar.gz
urpmi-efe5b3dce043bfe0b215f0b4bd6d2dc44971b515.tar.bz2
urpmi-efe5b3dce043bfe0b215f0b4bd6d2dc44971b515.tar.xz
urpmi-efe5b3dce043bfe0b215f0b4bd6d2dc44971b515.zip
don't use global configs_dir when using --env
-rwxr-xr-xurpmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 624cf440..7a7cb24d 100755
--- a/urpmi
+++ b/urpmi
@@ -258,6 +258,7 @@ if ($env) {
print "dropping virtual from $urpm->{config}\n";
system(q(perl -pi -e 's/^\s*virtual\s*$//' ) . $urpm->{config});
}
+ $urpm->{configs_dir} = "$env/media.d";
$urpm->{skiplist} = "$env/skip.list";
$urpm->{instlist} = "$env/inst.list";
$urpm->{prefer_list} = "$env/prefer.list";