From 9d9f07b5f9f0e027a88feb670accdbf1cf37232d Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Sat, 25 Jun 2022 00:07:06 +0200 Subject: [PATCH] fix: fixes install error on ubuntu aarch64 This should fix #20 Signed-off-by: Stephan Wendel --- tools/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/install.sh b/tools/install.sh index 90e4dab..8ecaafc 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -126,6 +126,15 @@ function import_config { source tools/config.bullseye return 0 fi + + ## rpi os bullseye + if [ "$(uname -m)" != "aarch64" ] && + [ "$(get_os_version ubuntu)" != "0" ] && + [ -f "tools/config.bullseye" ]; then + # shellcheck disable=SC1091 + source tools/config.bullseye + return 0 + fi } ### Detect crowsnest.