fix(deck): Ensure the detected branch name is always lowercase

This commit is contained in:
Kyle Gospodnetich 2024-03-04 09:39:37 -08:00 committed by GitHub
parent a8e77d1731
commit 26b1d533b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@ if [[ $# -eq 1 ]]; then
branch=$(cut -d ":" -f4 <<< "$(rpm-ostree status | grep -m 1 'bazzite')") branch=$(cut -d ":" -f4 <<< "$(rpm-ostree status | grep -m 1 'bazzite')")
fi fi
branch=${branch,,}
case "$branch" in case "$branch" in
"latest" | "stable") "latest" | "stable")
echo rel echo rel