mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-27 19:58:21 +01:00
Fix matching packages when remove
This commit is contained in:
parent
a4c5c42b52
commit
14d9037cd9
1 changed files with 1 additions and 2 deletions
|
@ -146,8 +146,7 @@ class PackageManager(object):
|
|||
pkgs = find_package(pkg + self.meta.sp, self.meta.pkg_path)
|
||||
if pkgs:
|
||||
print("[ {0}delete{1} ] --> {2}".format(
|
||||
self.meta.color["RED"], self.meta.color["ENDC"],
|
||||
"\n ".join(pkgs)))
|
||||
self.meta.color["RED"], self.meta.color["ENDC"], pkgs[0]))
|
||||
removed.append(pkg)
|
||||
else:
|
||||
Msg().pkg_not_found("", pkg, "Can't remove", "")
|
||||
|
|
Loading…
Add table
Reference in a new issue