Removed version for skip installed option

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-10-20 20:40:01 +03:00
parent 005328b47e
commit 2318f84177
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
4.2.2 - 20/10/2022
Updated:
- Remove version for skip installed option
4.2.1 - 18/10/2022 4.2.1 - 18/10/2022
Added: Added:
- Print the README file in the search option - Print the README file in the search option

View file

@ -75,9 +75,8 @@ class Slackbuilds:
for dep in deps: for dep in deps:
# Checks if the package was installed and skipped. # Checks if the package was installed and skipped.
pkg = f'{dep}-{SBoQueries(dep).version()}'
if ('--skip-installed' in self.flags and if ('--skip-installed' in self.flags and
self.utils.is_installed(f'{pkg}-')): self.utils.is_installed(f'{dep}-')):
continue continue
if dep not in self.slackbuilds: if dep not in self.slackbuilds: