Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=db3de89efd2cbae9e34da9da5ef4910e8f447bd0

commit db3de89efd2cbae9e34da9da5ef4910e8f447bd0
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Mar 31 23:41:02 2008 +0200

syncpkgcd: use request_conf() before building a package

diff --git a/syncpkgd/syncpkgcd.py b/syncpkgd/syncpkgcd.py
index fe339c1..0c92566 100644
--- a/syncpkgd/syncpkgcd.py
+++ b/syncpkgd/syncpkgcd.py
@@ -66,6 +66,12 @@ class Syncpkgcd:
if not len(pkg):
self.sleep("no package to build")
continue
+                               # there is a pkg to build, request
+                               # up to date repo list first
+                               buf = server.request_conf()
+                               sock = open(os.path.join(self.home, 
".repoman.conf"), "w")
+                               sock.write(base64.decodestring(buf))
+                               sock.close()
self.build(pkg)
except KeyboardInterrupt:
# here we could abort the current build properly
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to