Fixed for repo_tag

This commit is contained in:
Dimitris Zlatanidis 2023-05-05 23:40:52 +03:00
parent d3c41b9049
commit 9c8f1c45be

View file

@ -71,13 +71,8 @@ class Slackbuilds(Configs):
self.slackbuilds: list = self.utils.apply_package_pattern(data, slackbuilds)
tag: dict = {
self.repos.sbo_repo_name: self.repos.repositories[repository][6],
self.repos.ponce_repo_name: self.repos.repositories[repository][6],
}
# Patch the TAG from configs.
self.repo_tag: str = tag[repository]
# Patch the TAG from configs if changed.
self.repo_tag: str = self.repos.repositories[repository][6]
if self.repos.repositories[repository][5]:
self.repo_tag: str = self.repos.repositories[repository][5]