yum: Call setCacheDir so this works for non-root users.
[febootstrap.git] / febootstrap_yum_rpm.ml
index 075e4e0..47aefc6 100644 (file)
@@ -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 ()