mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
signindex: fix buster workaround
Don't try to remove arg if the old args where used.
This commit is contained in:
parent
1bb963d768
commit
0549535bab
@ -110,8 +110,8 @@ def sign_jar(jar, use_old_algs=False):
|
||||
'FDROID_KEY_PASS': config.get('keypass', ""),
|
||||
}
|
||||
p = common.FDroidPopen(args, envs=env_vars)
|
||||
if p.returncode != 0:
|
||||
# workaround for buster-backports apksigner on f-droid.org publish server
|
||||
if not use_old_algs and p.returncode != 0:
|
||||
# workaround for apksigner v30 on f-droid.org publish server
|
||||
v4 = args.index("--v4-signing-enabled")
|
||||
del args[v4 + 1]
|
||||
del args[v4]
|
||||
|
Loading…
Reference in New Issue
Block a user