mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Added view version
This commit is contained in:
parent
e9c755a1f3
commit
7d4c9db0b0
1 changed files with 2 additions and 2 deletions
|
@ -317,11 +317,11 @@ class SBoInstall(object):
|
|||
if find == pkg:
|
||||
print("[ {0}Upgrading{1} ] --> {2}".format(
|
||||
self.meta.color["YELLOW"],
|
||||
self.meta.color["ENDC"], pkg))
|
||||
self.meta.color["ENDC"], sbo))
|
||||
upgraded.append(prgnam)
|
||||
else:
|
||||
print("[ {0}Installing{1} ] --> {2}".format(
|
||||
self.meta.color["GREEN"], self.meta.color["ENDC"], pkg))
|
||||
self.meta.color["GREEN"], self.meta.color["ENDC"], sbo))
|
||||
installs.append(prgnam)
|
||||
PackageManager(binary).upgrade(flag="--install-new")
|
||||
return installs, upgraded
|
||||
|
|
Loading…
Reference in a new issue