Updated for sbo mirror

This commit is contained in:
Dimitris Zlatanidis 2024-04-12 22:07:18 +03:00
parent 721bcecff2
commit 58f907e919

View file

@ -31,8 +31,7 @@ class Repositories:
sbo_repo: bool = True
sbo_repo_name: str = 'sbo'
sbo_repo_path: Path = Path(repositories_path, sbo_repo_name)
sbo_repo_mirror_packages: str = ''
sbo_repo_mirror_changelog: str = ''
sbo_repo_mirror: str = ''
sbo_repo_slackbuilds: str = 'SLACKBUILDS.TXT'
sbo_repo_changelog: str = 'ChangeLog.txt'
sbo_repo_tag: str = '_SBo'
@ -227,8 +226,7 @@ class Repositories:
sbo_repo: bool = repos_config['SBO']['ENABLE']
sbo_repo_url: str = repos_config['SBO']['MIRROR']
sbo_repo_version: str = repos_config['SBO']['VERSION']
sbo_repo_mirror_packages: str = f'{sbo_repo_url}{sbo_repo_version}/'
sbo_repo_mirror_changelog: str = f'{sbo_repo_url}{sbo_repo_version}/'
sbo_repo_mirror: str = f'{sbo_repo_url}{sbo_repo_version}/'
ponce_repo: bool = repos_config['PONCE']['ENABLE']
ponce_repo_mirror: str = repos_config['PONCE']['MIRROR']
@ -382,8 +380,8 @@ class Repositories:
sbo_repo_name: {
'enable': sbo_repo,
'path': sbo_repo_path,
'mirror_packages': sbo_repo_mirror_packages,
'mirror_changelog': sbo_repo_mirror_changelog,
'mirror_packages': sbo_repo_mirror,
'mirror_changelog': sbo_repo_mirror,
'slackbuilds_txt': sbo_repo_slackbuilds,
'changelog_txt': sbo_repo_changelog,
'repo_tag': sbo_repo_tag,