Fix for -current version

This commit is contained in:
Dimitris Zlatanidis 2015-07-15 02:29:56 +03:00
parent 1feeb38619
commit d9b79e6910

View file

@ -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)