fix: Do not check for apk updates with checkonly flag

This commit is contained in:
Sayantan Santra 2024-03-02 18:53:49 -06:00
parent 1973a08642
commit 24bc63e1a2
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -164,7 +164,7 @@ appstate['up-to-date'] = True
if flag != 'buildonly': if flag != 'buildonly':
appstate = update_tools(appstate) appstate = update_tools(appstate)
appstate = update_microg(appstate) appstate = update_microg(appstate)
if not appstate['up-to-date'] or flag == 'force': if (not appstate['up-to-date'] and flag != 'checkonly') or flag == 'force':
appstate = get_apks(appstate) appstate = get_apks(appstate)
if (flag != 'checkonly' and not appstate['up-to-date']) or flag in ['force', 'buildonly']: if (flag != 'checkonly' and not appstate['up-to-date']) or flag in ['force', 'buildonly']: