diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 3a775847..c624e874 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -549,7 +549,7 @@ def update_serverwebroot(serverwebroot, repo_section): files_to_upload = _get_index_file_paths(repo_section) files_to_upload = _remove_missing_files(files_to_upload) - rsyncargs += _get_index_file_paths(repo_section) + rsyncargs += files_to_upload rsyncargs += [f'{url}/{repo_section}/'] logging.info(rsyncargs) if subprocess.call(rsyncargs) != 0: