mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
Switch to utils
This commit is contained in:
parent
db3c8a2f42
commit
27611852bc
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class ViewMessage:
|
|||
|
||||
if self.utils.is_installed(name):
|
||||
for package in installed:
|
||||
pkg = '-'.join(package.split('-')[:-3])
|
||||
pkg = self.utils.split_installed_pkg(package)[0]
|
||||
if pkg == name:
|
||||
self.installed_packages.append(package)
|
||||
print(f'[{color["red"]} delete {color["endc"]}] -> {package}')
|
||||
|
|
Loading…
Add table
Reference in a new issue