mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-28 18:20:09 +00:00
chore: Use ID for branch select
This commit is contained in:
parent
a0e2a73925
commit
dc6d4dc282
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user