Do not check signed checksum before sync
If somebody disables sign, he wants this
This commit is contained in:
parent
9da7bee180
commit
1cf9fdc5c4
@ -540,11 +540,8 @@ Dir::Etc::preferencesparts "/var/empty";
|
|||||||
for branch in self.branches:
|
for branch in self.branches:
|
||||||
remote = self.remote(branch)
|
remote = self.remote(branch)
|
||||||
files = glob.glob(f'{self.images_dir}/{branch}/*')
|
files = glob.glob(f'{self.images_dir}/{branch}/*')
|
||||||
if f'self.checksum_command.upper().asc' not in files:
|
cmd = ['rsync', '-v'] + files + [remote]
|
||||||
self.error(f'No checksum signature in branch {branch}')
|
self.call(cmd)
|
||||||
else:
|
|
||||||
cmd = ['rsync', '-v'] + files + [remote]
|
|
||||||
self.call(cmd)
|
|
||||||
|
|
||||||
self.kick()
|
self.kick()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user