1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02:00

fix(deploy): fix typo

This commit is contained in:
proletarius101 2023-12-14 16:36:26 +00:00
parent 7071cc6f6d
commit 3b58c386a4
No known key found for this signature in database

View File

@ -502,7 +502,7 @@ def update_serverwebroot(serverwebroot, repo_section):
url = serverwebroot['url']
logging.info('rsyncing ' + repo_section + ' to ' + url)
if options.index_only:
if subprocess.call(rsyncargs + ['--excludes', "*"] + _get_index_includes(repo_section) + [repo_section, url]) != 0:
if subprocess.call(rsyncargs + ['--exclude', "*"] + _get_index_includes(repo_section) + [repo_section, url]) != 0:
raise FDroidException()
else:
excludes = _get_index_excludes(repo_section)