From 5daa41e95e9bb244dae410669624fa84a55e02e9 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Fri, 29 Mar 2024 20:09:44 -0400 Subject: [PATCH] `updater`: fix critical bug in onboot background updater fix a bug were if at least one app is background updatable instead of only attempting to update the background updatable apps, all updatable apps are attempted to be updated, bypassing user permission. on systems without background sudo this ends up hanging the onboot updater whenever sudo is required to update an app in a background terminal --- updater | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater b/updater index a5c88e2df1..1e1591be89 100755 --- a/updater +++ b/updater @@ -634,7 +634,7 @@ update_now_background() { #input: updatable_apps and updatable_files variables background_updatable_apps="$(echo "$background_updatable_apps" | grep .)" if [ ! -z "$updatable_files" ] || [ ! -z "$background_updatable_apps" ];then - no_status=true update_now_cli + no_status=true updatable_apps="$background_updatable_apps" update_now_cli fi }