diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 15:47:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 15:47:17 +0000 |
commit | efe5b3dce043bfe0b215f0b4bd6d2dc44971b515 (patch) | |
tree | 25f3ed0fe1840de2902e42d42b8277eb92f9a7dd | |
parent | 26a255479b1b8cd15789a8bffaa0c37a96edc7e5 (diff) | |
download | urpmi-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-x | urpmi | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"; |