summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-27 11:39:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-27 11:39:47 +0000
commitbb0fabd2c2bffcf3def2c8c538921305d09ec298 (patch)
tree5eebe0255014a1d1a9950098902fd990dcdee2ad /urpm.pm
parentb494812daced7acbb49aaf27671cde8a4f055b7e (diff)
downloadurpmi-bb0fabd2c2bffcf3def2c8c538921305d09ec298.tar
urpmi-bb0fabd2c2bffcf3def2c8c538921305d09ec298.tar.gz
urpmi-bb0fabd2c2bffcf3def2c8c538921305d09ec298.tar.bz2
urpmi-bb0fabd2c2bffcf3def2c8c538921305d09ec298.tar.xz
urpmi-bb0fabd2c2bffcf3def2c8c538921305d09ec298.zip
- implement urpme --env
- handle urpme --auto-orphans --env
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 93d0c992..016f002d 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -152,6 +152,7 @@ sub set_env {
$urpm->{prefer_vendor_list} = "$env/prefer.vendor.list";
$urpm->{statedir} = $env;
$urpm->{env_rpmdb} = "$env/rpmdb.cz";
+ $urpm->{env_dir} = $env;
}
sub set_files {