Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=b00dffe6e03e0773b002a5f3c0bd0905735e686f
commit b00dffe6e03e0773b002a5f3c0bd0905735e686f Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon Apr 18 21:51:29 2011 +0200 syncpkgd: strip the arch suffix on arm diff --git a/syncpkgd/syncpkgcd.py b/syncpkgd/syncpkgcd.py index 4f1a8c7..30cf815 100644 --- a/syncpkgd/syncpkgcd.py +++ b/syncpkgd/syncpkgcd.py @@ -76,7 +76,10 @@ class Syncpkgcd: self.sleep("load too high") continue try: - pkg = server.request_pkg(config.server_user, config.server_pass, os.uname()[-1]) + arch = os.uname()[-1] + if arch.startswith("arm"): + arch = "arm" + pkg = server.request_pkg(config.server_user, config.server_pass, arch) except socket.error, msg: self.sleep("can't connect to server (%s)" % msg) continue _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git