From dc6d4dc2822ac25f104308610463adc81d941299 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 22 Aug 2024 12:20:06 -0700 Subject: [PATCH] chore: Use ID for branch select --- system_files/deck/shared/usr/libexec/os-branch-select | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/deck/shared/usr/libexec/os-branch-select b/system_files/deck/shared/usr/libexec/os-branch-select index c7821e96..9fd166d3 100755 --- a/system_files/deck/shared/usr/libexec/os-branch-select +++ b/system_files/deck/shared/usr/libexec/os-branch-select @@ -9,7 +9,7 @@ if [[ $# -eq 1 ]]; then if [[ -f /var/ublue-update/branch ]]; then branch=$(cat /var/ublue-update/branch) else - branch=$(cut -d ":" -f4 <<< "$(rpm-ostree status --booted | grep -m 1 $VARIANT_ID)") + branch=$(cut -d ":" -f4 <<< "$(rpm-ostree status --booted | grep -m 1 $ID)") fi # Trim and convert to lowercase