From d9b79e6910a3b5ad773bf892989f7f8689f2c30e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 15 Jul 2015 02:29:56 +0300 Subject: [PATCH] Fix for -current version --- slpkg/init.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slpkg/init.py b/slpkg/init.py index 76655d9e..9b68054d 100644 --- a/slpkg/init.py +++ b/slpkg/init.py @@ -336,6 +336,8 @@ class Initialization(object): os.mkdir(lib) if arch == "x86_64": ar = "{0}-x86_64".format(ver) + if self.meta.slack_rel == "current": + ar = "{0}-x86".format(self.meta.slack_rel) if self.meta.slack_rel == "current" and arch == "x86_64": ar = "{0}-x86_64".format(self.meta.slack_rel) PACKAGES_TXT = "{0}{1}/{2}".format(repo, ar, lib_file)