summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
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");
}