1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

Merge branch 'fix-bullseye-blocklist' into 'master'

checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned

Closes #1076

See merge request fdroid/fdroidserver!1273
This commit is contained in:
Jochen Sprickerhof 2022-12-07 06:58:35 +00:00
commit d3c51f3abd

View File

@ -533,6 +533,7 @@ def checkupdates_app(app):
for build in newbuilds: for build in newbuilds:
if "sudo" in build: if "sudo" in build:
if any("openjdk-11" in line for line in build["sudo"]):
build["sudo"] = [line for line in build["sudo"] if line not in bullseye_blocklist] build["sudo"] = [line for line in build["sudo"] if line not in bullseye_blocklist]
if build["sudo"] == ['apt-get update']: if build["sudo"] == ['apt-get update']:
build["sudo"] = '' build["sudo"] = ''