yum: Call setCacheDir so this works for non-root users.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 6 Dec 2010 16:45:57 +0000 (16:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 6 Dec 2010 16:45:57 +0000 (16:45 +0000)
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 ()