From b6d6d46aeb088dd15d1f5b611e24aa00840c907e Mon Sep 17 00:00:00 2001 From: thefuture Date: Thu, 18 Sep 2025 08:29:22 +0000 Subject: [PATCH] error if repo rclone.conf is not referenced in config.yml --- fdroidserver/deploy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index abaab805..cff6e35f 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -156,6 +156,8 @@ def update_remote_storage_with_rclone( elif os.path.exists(EMBEDDED_RCLONE_CONF): path = EMBEDDED_RCLONE_CONF # in this case, only for display configfilename = EMBEDDED_RCLONE_CONF + if not rclone_config: + raise FDroidException(_("'rclone_config' must be set in config.yml!")) else: configfilename = None output = subprocess.check_output(['rclone', 'config', 'file'], text=True)