summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-06 16:45:57 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-06 16:45:57 +0000
commit7fe9a6df77bd58b1cf72570a51218eabcf77c686 (patch)
tree8223d6c1f7be4b2153d724aa9188f570f16f1e50
parent155b6952bb3fde46cee675c353e2462a09172c50 (diff)
downloadfebootstrap-7fe9a6df77bd58b1cf72570a51218eabcf77c686.tar.gz
febootstrap-7fe9a6df77bd58b1cf72570a51218eabcf77c686.tar.xz
febootstrap-7fe9a6df77bd58b1cf72570a51218eabcf77c686.zip
yum: Call setCacheDir so this works for non-root users.
-rw-r--r--febootstrap_yum_rpm.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/febootstrap_yum_rpm.ml b/febootstrap_yum_rpm.ml
index 075e4e0..47aefc6 100644
--- a/febootstrap_yum_rpm.ml
+++ b/febootstrap_yum_rpm.ml
@@ -42,6 +42,7 @@ import sys
yb = yum.YumBase ()
yb.preconf.debuglevel = %d
yb.preconf.errorlevel = %d
+yb.setCacheDir ()
# Look up the base packages from the command line.
deps = dict ()