mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-09 08:46:07 +01:00
Fixed: Removing a package states 'package not found' #35
This commit is contained in:
parent
4b29759051
commit
e10fb68b8c
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class PackageManager(object):
|
|||
print("| Total {0} packages removed".format(len(removes)))
|
||||
Msg().template(78)
|
||||
for pkg in removes:
|
||||
if not find_package(pkg + self.meta.sp, self.meta.pkg_path):
|
||||
if not GetFromInstalled(pkg).name():
|
||||
print("| Package {0} removed".format(pkg))
|
||||
else:
|
||||
print("| Package {0} not found".format(pkg))
|
||||
|
|
Loading…
Add table
Reference in a new issue