mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed for dependent version
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
8cd32d753a
commit
b66a32afba
1 changed files with 4 additions and 1 deletions
|
@ -94,9 +94,12 @@ class RemovePackages(Configs): # pylint: disable=[R0902]
|
|||
"""
|
||||
for package in self.packages_for_remove:
|
||||
name: str = self.utils.split_package(package)['name']
|
||||
version: str = self.utils.split_package(package)['version']
|
||||
for pkg, deps in self.deps_log.items():
|
||||
if name in deps and pkg not in self.packages + self.dependencies:
|
||||
version: str = ''
|
||||
installed: str = self.utils.is_package_installed(pkg)
|
||||
if installed:
|
||||
version: str = self.utils.split_package(installed)['version']
|
||||
self.found_dependent_packages[pkg] = version
|
||||
|
||||
if self.found_dependent_packages:
|
||||
|
|
Loading…
Reference in a new issue