mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned
This commit is contained in:
parent
bc56704eb0
commit
cefcf432c3
@ -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"] = ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user