Updated for var

This commit is contained in:
Dimitris Zlatanidis 2023-04-18 21:20:52 +03:00
parent 1564e34a7e
commit 0dbd63ffdb

View file

@ -49,16 +49,16 @@ class InstallData(Configs):
]
sbo_table = SBoTable
sbo_name: str = self.repos.sbo_repo_name
path: Path = Path(self.repos.sbo_repo_path, self.repos.sbo_repo_slackbuilds)
path_slackbuilds: Path = Path(self.repos.sbo_repo_path, self.repos.sbo_repo_slackbuilds)
path_changelog: Path = Path(self.repos.sbo_repo_path, self.repos.sbo_repo_changelog)
if self.repos.ponce_repo:
sbo_table = PonceTable
sbo_name: str = self.repos.ponce_repo_name
path = Path(self.repos.ponce_repo_path, self.repos.ponce_repo_slackbuilds)
path_slackbuilds = Path(self.repos.ponce_repo_path, self.repos.ponce_repo_slackbuilds)
path_changelog: Path = Path(self.repos.ponce_repo_path, self.repos.ponce_repo_changelog)
slackbuilds_txt: list = self.utils.read_file(path)
slackbuilds_txt: list = self.utils.read_file(path_slackbuilds)
cache: list = [] # init cache