From 38d9c8606aecf6430c5a28823cd633e129816365 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 16 Feb 2016 21:40:03 +0200 Subject: [PATCH] Fixed: Problem on x86 architecture in slonly repo #59 --- slpkg/binary/repo_init.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/slpkg/binary/repo_init.py b/slpkg/binary/repo_init.py index 3eb90982..08f030c6 100644 --- a/slpkg/binary/repo_init.py +++ b/slpkg/binary/repo_init.py @@ -91,7 +91,10 @@ class RepoInit(object): if self.meta.arch == "x86_64": arch = "{0}-x86_64".format(ver) if self.meta.slack_rel == "current": - arch = "{0}-x86_64".format(self.meta.slack_rel) + if self.meta.arch == "x86_64": + arch = "{0}-x86_64".format(self.meta.slack_rel) + else: + arch = "{0}-x86".format(self.meta.slack_rel) self.mirror = "{0}{1}/".format(self.def_repo_dict["slonly"], arch) def _init_ktown(self):