mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Update view removed
This commit is contained in:
parent
03f6b6d6f5
commit
48c94f7d87
1 changed files with 3 additions and 3 deletions
|
@ -147,9 +147,6 @@ class PackageManager(object):
|
|||
"""Manage removed packages by extra options
|
||||
"""
|
||||
removed, packages = [], []
|
||||
print("\nPackages with name matching [ {0}{1}{2} ]\n".format(
|
||||
self.meta.color["CYAN"], ", ".join(self.binary),
|
||||
self.meta.color["ENDC"]))
|
||||
if "--tag" in self.extra:
|
||||
for pkg in find_package("", self.meta.pkg_path):
|
||||
for tag in self.binary:
|
||||
|
@ -175,6 +172,9 @@ class PackageManager(object):
|
|||
"""View packages before removed
|
||||
"""
|
||||
removed, packages = self._get_removed()
|
||||
print("\nPackages with name matching [ {0}{1}{2} ]\n".format(
|
||||
self.meta.color["CYAN"], ", ".join(self.binary),
|
||||
self.meta.color["ENDC"]))
|
||||
if packages and "--checklist" in self.extra:
|
||||
removed = []
|
||||
pkgs = CheckList(packages,
|
||||
|
|
Loading…
Reference in a new issue