1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Fix no-checksum option type for local sync (fixes #67)

This commit is contained in:
Ciaran Gultnieks 2015-01-21 09:15:20 +00:00
parent 581ad7f2a8
commit 6a780a5a27

View File

@ -166,7 +166,7 @@ def _local_sync(fromdir, todir):
'--one-file-system', '--delete', '--chmod=Da+rx,Fa-x,a+r,u+w'] '--one-file-system', '--delete', '--chmod=Da+rx,Fa-x,a+r,u+w']
# use stricter rsync checking on all files since people using offline mode # use stricter rsync checking on all files since people using offline mode
# are already prioritizing security above ease and speed # are already prioritizing security above ease and speed
if not options.nochecksum: if not options.no_checksum:
rsyncargs.append('--checksum') rsyncargs.append('--checksum')
if options.verbose: if options.verbose:
rsyncargs += ['--verbose'] rsyncargs += ['--verbose']