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
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ appstate['up-to-date'] = True
if flag != 'buildonly':
appstate = update_tools(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)
if (flag != 'checkonly' and not appstate['up-to-date']) or flag in ['force', 'buildonly']: