mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix for -current version
This commit is contained in:
parent
1feeb38619
commit
d9b79e6910
1 changed files with 2 additions and 0 deletions
|
@ -336,6 +336,8 @@ class Initialization(object):
|
||||||
os.mkdir(lib)
|
os.mkdir(lib)
|
||||||
if arch == "x86_64":
|
if arch == "x86_64":
|
||||||
ar = "{0}-x86_64".format(ver)
|
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":
|
if self.meta.slack_rel == "current" and arch == "x86_64":
|
||||||
ar = "{0}-x86_64".format(self.meta.slack_rel)
|
ar = "{0}-x86_64".format(self.meta.slack_rel)
|
||||||
PACKAGES_TXT = "{0}{1}/{2}".format(repo, ar, lib_file)
|
PACKAGES_TXT = "{0}{1}/{2}".format(repo, ar, lib_file)
|
||||||
|
|
Loading…
Reference in a new issue