1
0
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:
Jochen Sprickerhof 2022-10-30 08:23:48 +01:00
parent 1bb963d768
commit 0549535bab
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

View File

@ -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]