mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Fix ignore sbo repo if not activate
This commit is contained in:
parent
f972a8b149
commit
2e2a23ba66
1 changed files with 5 additions and 4 deletions
|
@ -205,7 +205,8 @@ class ArgParse(object):
|
||||||
"slack", resolve).start(if_upgrade=True)
|
"slack", resolve).start(if_upgrade=True)
|
||||||
else:
|
else:
|
||||||
Patches(skip).start()
|
Patches(skip).start()
|
||||||
elif self.args[1] == "sbo":
|
elif (self.args[1] == "sbo" and
|
||||||
|
self.args[1] in self.meta.repositories):
|
||||||
SBoInstall(sbo_upgrade(skip), resolve).start(if_upgrade=True)
|
SBoInstall(sbo_upgrade(skip), resolve).start(if_upgrade=True)
|
||||||
else:
|
else:
|
||||||
usage(self.args[1])
|
usage(self.args[1])
|
||||||
|
@ -226,9 +227,9 @@ class ArgParse(object):
|
||||||
self.args[1] not in ["sbo"]):
|
self.args[1] not in ["sbo"]):
|
||||||
BinaryInstall(packages, self.args[1], resolve).start(
|
BinaryInstall(packages, self.args[1], resolve).start(
|
||||||
if_upgrade=False)
|
if_upgrade=False)
|
||||||
elif self.args[1] == "sbo":
|
elif (self.args[1] == "sbo" and
|
||||||
SBoInstall(packages, resolve).start(
|
self.args[1] in self.meta.repositories):
|
||||||
if_upgrade=False)
|
SBoInstall(packages, resolve).start(if_upgrade=False)
|
||||||
else:
|
else:
|
||||||
usage(self.args[1])
|
usage(self.args[1])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue