mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
Merge branch 'fix-metadata_find_signing_files' into 'master'
fix metadata_find_signing_files() See merge request fdroid/fdroidserver!906
This commit is contained in:
commit
e2214ebc4b
@ -3006,8 +3006,8 @@ def metadata_find_signing_files(appid, vercode):
|
|||||||
+ glob.glob(os.path.join(sigdir, '*.RSA'))
|
+ glob.glob(os.path.join(sigdir, '*.RSA'))
|
||||||
)
|
)
|
||||||
signature_block_pat = re.compile(r'(\.DSA|\.EC|\.RSA)$')
|
signature_block_pat = re.compile(r'(\.DSA|\.EC|\.RSA)$')
|
||||||
apk_signing_block = os.path.isfile(os.path.join(sigdir, "APKSigningBlock"))
|
apk_signing_block = os.path.join(sigdir, "APKSigningBlock")
|
||||||
apk_signing_block_offset = os.path.isfile(os.path.join(sigdir, "APKSigningBlockOffset"))
|
apk_signing_block_offset = os.path.join(sigdir, "APKSigningBlockOffset")
|
||||||
if os.path.isfile(apk_signing_block) and os.path.isfile(apk_signing_block_offset):
|
if os.path.isfile(apk_signing_block) and os.path.isfile(apk_signing_block_offset):
|
||||||
v2_files = apk_signing_block, apk_signing_block_offset
|
v2_files = apk_signing_block, apk_signing_block_offset
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user