mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Fix reference message
This commit is contained in:
parent
dda966f6aa
commit
d5919c032d
1 changed files with 4 additions and 1 deletions
|
@ -357,7 +357,10 @@ class PackageManager(object):
|
||||||
"""
|
"""
|
||||||
print("")
|
print("")
|
||||||
self.msg.template(78)
|
self.msg.template(78)
|
||||||
print("| Total {0} packages removed".format(len(removes)))
|
msg_pkg = "package"
|
||||||
|
if len(removes) > 1:
|
||||||
|
msg_pkg = "packages"
|
||||||
|
print("| Total {0} {1} removed".format(len(removes), msg_pkg))
|
||||||
self.msg.template(78)
|
self.msg.template(78)
|
||||||
for pkg in removes:
|
for pkg in removes:
|
||||||
if not GetFromInstalled(pkg).name():
|
if not GetFromInstalled(pkg).name():
|
||||||
|
|
Loading…
Reference in a new issue