mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Fix keysigning patches
This commit is contained in:
parent
860baa883c
commit
b6eefb2d5d
@ -1971,8 +1971,8 @@ def remove_signing_keys(build_dir):
|
||||
lines = o.readlines()
|
||||
|
||||
opened = 0
|
||||
with open(path, "w") as o:
|
||||
for line in lines:
|
||||
with open(path, "w+") as o:
|
||||
for line in o:
|
||||
if 'signingConfigs ' in line:
|
||||
opened = 1
|
||||
changed = True
|
||||
@ -1994,8 +1994,8 @@ def remove_signing_keys(build_dir):
|
||||
path = os.path.join(root, propfile)
|
||||
changed = False
|
||||
|
||||
with open(path, "w") as o:
|
||||
for line in lines:
|
||||
with open(path, "w+") as o:
|
||||
for line in o:
|
||||
if line.startswith('key.store'):
|
||||
changed = True
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user