mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
chore(deploy): cleanup code
This commit is contained in:
parent
99d830ad96
commit
1f2b33b0e9
@ -732,10 +732,7 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
# trailing slashes have a meaning in rsync which is not needed here, so
|
||||
# make sure both paths have exactly one trailing slash
|
||||
if is_index_only:
|
||||
files_to_sync = [
|
||||
str(workspace_dir / repo_section / index_file)
|
||||
for index_file in INDEX_FILES
|
||||
]
|
||||
files_to_sync = _get_index_file_paths(str(workspace_dir / repo_section))
|
||||
else:
|
||||
files_to_sync = [str(workspace_dir / repo_section).rstrip('/') + '/']
|
||||
common.local_rsync(
|
||||
|
Loading…
Reference in New Issue
Block a user