From: Michael Tremer Date: Thu, 9 Mar 2023 19:00:34 +0000 (+0000) Subject: config: Apply general configuration only locally X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=deecf10c78a1933ef9310fb7eae518cd90d0ba43;p=pbs.git config: Apply general configuration only locally Signed-off-by: Michael Tremer --- diff --git a/src/buildservice/config.py b/src/buildservice/config.py index 175b3983..b509febb 100644 --- a/src/buildservice/config.py +++ b/src/buildservice/config.py @@ -77,9 +77,10 @@ class PakfireConfig(base.Object): default_section="general") # Apply some general settings - config["general"] = { - "cache_path" : self.backend.path(".cache"), - } + if local: + config["general"] = { + "cache_path" : self.backend.path(".cache"), + } # Add the distro configuration if self.distro: