1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-02 09:10:11 +02:00

checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned

This commit is contained in:
FC Stegerman 2022-12-07 03:37:55 +01:00
parent bc56704eb0
commit cefcf432c3
No known key found for this signature in database
GPG Key ID: B218FF2C27FC6CC6

View File

@ -533,7 +533,8 @@ def checkupdates_app(app):
for build in newbuilds:
if "sudo" in build:
build["sudo"] = [line for line in build["sudo"] if line not in bullseye_blocklist]
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]
if build["sudo"] == ['apt-get update']:
build["sudo"] = ''