mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Add if package created
This commit is contained in:
parent
3fb39f9710
commit
34b740f6f0
2 changed files with 6 additions and 0 deletions
|
@ -291,6 +291,9 @@ class SBoInstall(object):
|
|||
if pkg[:-4].endswith("_SBo") and build1 == build2:
|
||||
binary = pkg
|
||||
break
|
||||
if not find_package(binary, self.meta.output):
|
||||
self.msg.build_FAILED(prgnam)
|
||||
raise SystemExit()
|
||||
return ["".join(self.meta.output + binary)]
|
||||
|
||||
def build_install(self):
|
||||
|
|
|
@ -237,6 +237,9 @@ class SBoNetwork(object):
|
|||
if pkg[:-4].endswith("_SBo") and build1 == build2:
|
||||
binary = ["".join(self.meta.output + pkg)]
|
||||
break
|
||||
if not find_package(binary, self.meta.output):
|
||||
self.msg.build_FAILED(prgnam)
|
||||
raise SystemExit()
|
||||
print("[ {0}Installing{1} ] --> {2}".format(self.green,
|
||||
self.endc,
|
||||
self.name))
|
||||
|
|
Loading…
Add table
Reference in a new issue