mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-09 08:46:07 +01:00
Update refenrence package name
This commit is contained in:
parent
25bc7ff837
commit
4b29759051
1 changed files with 3 additions and 1 deletions
|
@ -142,9 +142,11 @@ class PackageManager(object):
|
||||||
self.meta.color["ENDC"]))
|
self.meta.color["ENDC"]))
|
||||||
for pkg in self.binary:
|
for pkg in self.binary:
|
||||||
found = GetFromInstalled(pkg).name()
|
found = GetFromInstalled(pkg).name()
|
||||||
|
package = find_package(found + self.meta.sp, self.meta.pkg_path)
|
||||||
if found == pkg:
|
if found == pkg:
|
||||||
print("[ {0}delete{1} ] --> {2}".format(
|
print("[ {0}delete{1} ] --> {2}".format(
|
||||||
self.meta.color["RED"], self.meta.color["ENDC"], found))
|
self.meta.color["RED"], self.meta.color["ENDC"],
|
||||||
|
package[0]))
|
||||||
removed.append(pkg)
|
removed.append(pkg)
|
||||||
else:
|
else:
|
||||||
Msg().pkg_not_found("", pkg, "Can't remove", "")
|
Msg().pkg_not_found("", pkg, "Can't remove", "")
|
||||||
|
|
Loading…
Add table
Reference in a new issue