mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for tar suffix
This commit is contained in:
parent
2cb2ee6676
commit
998bc52d4a
3 changed files with 7 additions and 4 deletions
|
@ -94,7 +94,7 @@ class DownloadOnly(Configs):
|
|||
if self.gpg_verification and self.repository == self.repos.sbo_repo_name:
|
||||
location: str = self.data[name]['location']
|
||||
asc_file: Path = Path(self.repos.repositories_path, self.repos.sbo_repo_name,
|
||||
location, f'{name}.tar.gz.asc')
|
||||
location, f'{name}{self.repos.sbo_repo_tar_suffix}.asc')
|
||||
self.asc_files.append(asc_file)
|
||||
|
||||
def copy_slackbuild_scripts(self, name: str) -> None:
|
||||
|
|
|
@ -562,7 +562,8 @@ class Repositories:
|
|||
'mirror': sbo_repo_mirror,
|
||||
'slackbuilds_txt': sbo_repo_slackbuilds,
|
||||
'changelog_txt': sbo_repo_changelog,
|
||||
'repo_tag': sbo_repo_tag},
|
||||
'repo_tag': sbo_repo_tag,
|
||||
'tar_suffix': sbo_repo_tar_suffix},
|
||||
|
||||
ponce_repo_name: {
|
||||
'enable': ponce_repo,
|
||||
|
@ -570,7 +571,8 @@ class Repositories:
|
|||
'mirror': ponce_repo_mirror,
|
||||
'slackbuilds_txt': ponce_repo_slackbuilds,
|
||||
'changelog_txt': ponce_repo_changelog,
|
||||
'repo_tag': ponce_repo_tag},
|
||||
'repo_tag': ponce_repo_tag,
|
||||
'tar_suffix': ponce_repo_tar_suffix},
|
||||
|
||||
slack_repo_name: {
|
||||
'enable': slack_repo,
|
||||
|
|
|
@ -60,6 +60,7 @@ class Slackbuilds(Configs):
|
|||
self.slackbuilds: list = self.utils.apply_package_pattern(data, slackbuilds)
|
||||
|
||||
self.repo_tag: str = self.repos.repositories[repository]['repo_tag']
|
||||
self.tar_suffix: str = self.repos.repositories[repository]['tar_suffix']
|
||||
|
||||
def execute(self) -> None:
|
||||
self.creating_dependencies_list()
|
||||
|
@ -144,7 +145,7 @@ class Slackbuilds(Configs):
|
|||
|
||||
if self.gpg_verification and self.repository == self.repos.sbo_repo_name:
|
||||
asc_file: Path = Path(self.repos.repositories_path, self.repos.sbo_repo_name,
|
||||
location, f'{sbo}.tar.gz.asc')
|
||||
location, f'{sbo}{self.tar_suffix}.asc')
|
||||
self.asc_files.append(asc_file)
|
||||
|
||||
self.sources[sbo] = (sources, Path(self.build_path, sbo))
|
||||
|
|
Loading…
Reference in a new issue