mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fix reference message
This commit is contained in:
parent
9aa2c35ab9
commit
231f467c4a
2 changed files with 8 additions and 8 deletions
|
@ -6,10 +6,12 @@ Added:
|
|||
Fixed:
|
||||
- Resolving dependencies message for sbo repository when search for matching
|
||||
packages
|
||||
- Reference message for installing and upgrading packages
|
||||
- Build error message
|
||||
Updated:
|
||||
- Install SBo packages with specific build number
|
||||
- For SBo repository select computer architecture
|
||||
- Module imports path
|
||||
|
||||
2.7.3 - 13/08/2015
|
||||
Added:
|
||||
|
|
|
@ -23,11 +23,10 @@
|
|||
|
||||
|
||||
import sys
|
||||
import itertools
|
||||
|
||||
from slpkg.__metadata__ import MetaData as _meta_
|
||||
|
||||
from slpkg.pkg.installed import GetFromInstalled
|
||||
|
||||
|
||||
class Msg(object):
|
||||
"""Messages control
|
||||
|
@ -148,10 +147,9 @@ class Msg(object):
|
|||
len(install), self.pkg(len(install)),
|
||||
len(upgrade), self.pkg(len(upgrade))))
|
||||
self.template(78)
|
||||
for installed in (install + upgrade):
|
||||
name = "-".join(installed.split("-")[:-1])
|
||||
if GetFromInstalled(name).name():
|
||||
print("| Package {0} upgraded successfully".format(name))
|
||||
else:
|
||||
print("| Package {0} installed successfully".format(name))
|
||||
for installed, upgraded in itertools.izip_longest(install, upgrade):
|
||||
if upgraded:
|
||||
print("| Package {0} upgraded successfully".format(upgraded))
|
||||
if installed:
|
||||
print("| Package {0} installed successfully".format(installed))
|
||||
self.template(78)
|
||||
|
|
Loading…
Add table
Reference in a new issue