From 361dfaa285c78433df4372d8c1c9466ab1b0451b Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> Date: Sat, 11 Nov 2023 14:51:50 +0100 Subject: [PATCH] chore: fix is_speederpad --- tools/libs/core.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/libs/core.sh b/tools/libs/core.sh index dde6c7f8..8f2e929f 100755 --- a/tools/libs/core.sh +++ b/tools/libs/core.sh @@ -67,8 +67,7 @@ is_ubuntu_arm() { } is_speederpad() { - if [[ "$(is_ubuntu_arm)" = "1" ]] && - [[ "$(uname -rm)" = "4.9.191 aarch64" ]] && + if [[ "$(uname -rm)" = "4.9.191 aarch64" ]] && grep -q "Ubuntu 20.04." /etc/os-release; then echo "1" else