From 57c53a15c0cf996a87f600099516a2bcd17d6202 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 5 May 2024 11:45:13 +0300 Subject: [PATCH] Fixed for sbo repository Signed-off-by: Dimitris Zlatanidis --- slpkg/update_repositories.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/slpkg/update_repositories.py b/slpkg/update_repositories.py index d8b8a0c5..cdb102b1 100644 --- a/slpkg/update_repositories.py +++ b/slpkg/update_repositories.py @@ -62,6 +62,10 @@ class UpdateRepositories(Configs): # pylint: disable=[R0902] """ if self.gpg_verification: mirror: str = self.repos.repositories[repo]['mirror_changelog'] + + if repo == self.repos.sbo_repo_name: + mirror: str = 'https://www.slackbuilds.org/' + gpg_key: str = f'{mirror}GPG-KEY' gpg_command: str = 'gpg --fetch-key' process: str = ''