summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-29 13:43:48 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-29 13:43:48 +0000
commit1ce5a8fb021c895ac2e86c45765b7efdc5faad27 (patch)
tree9a3a5c0a29a8e5ea52c84813d92fc27cf51aa258 /urpm.pm
parenta24b5b478f3b54c4b680e03d4c4ecba9efcaf1ef (diff)
downloadurpmi-1ce5a8fb021c895ac2e86c45765b7efdc5faad27.tar
urpmi-1ce5a8fb021c895ac2e86c45765b7efdc5faad27.tar.gz
urpmi-1ce5a8fb021c895ac2e86c45765b7efdc5faad27.tar.bz2
urpmi-1ce5a8fb021c895ac2e86c45765b7efdc5faad27.tar.xz
urpmi-1ce5a8fb021c895ac2e86c45765b7efdc5faad27.zip
(set_files) document policy regarding chroot 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 c25bffb9..05442942 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -80,6 +80,7 @@ sub set_files {
"$urpmi_root/var/lib/rpm",
]);
+ # policy is too use chroot environment only for --urpmi-root, not for --root:
if ($urpmi_root && -e "$urpmi_root/etc/rpm/macros") {
URPM::loadmacrosfile("$urpmi_root/etc/rpm/macros");
}