Bugfixed install packages with correct sbo tag

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-11-26 19:57:34 +02:00
parent f4b8691302
commit 4deac6c476
3 changed files with 2 additions and 2 deletions

View file

@ -4,6 +4,7 @@ Added:
- Slackware repo version
Bugfixed:
- Remove packages equal with the name
- Install packages with correct sbo tag
4.3.0 - 23/11/2022
Added:

View file

@ -43,7 +43,6 @@ class Check:
for package in os.listdir(self.log_packages):
for sbo in slackbuilds:
if sbo + '-' in package and self.sbo_repo_tag in package:
return

View file

@ -176,7 +176,7 @@ class Slackbuilds:
pkg = f'{name}-{version}'
for package in os.listdir(self.tmp_path):
if pkg in package:
if pkg in package and self.sbo_repo_tag in package:
packages.append(package)
return max(packages)