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:
|
||||
remote = self.remote(branch)
|
||||
files = glob.glob(f'{self.images_dir}/{branch}/*')
|
||||
if f'self.checksum_command.upper().asc' not in files:
|
||||
self.error(f'No checksum signature in branch {branch}')
|
||||
else:
|
||||
cmd = ['rsync', '-v'] + files + [remote]
|
||||
self.call(cmd)
|
||||
cmd = ['rsync', '-v'] + files + [remote]
|
||||
self.call(cmd)
|
||||
|
||||
self.kick()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user