mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Bugfixed install packages with correct sbo tag
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
f4b8691302
commit
4deac6c476
3 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue