fix: fixes install error on ubuntu aarch64

This should fix #20

Signed-off-by: Stephan Wendel <me@stephanwe.de>
This commit is contained in:
Stephan Wendel 2022-06-25 00:07:06 +02:00
parent f726bda796
commit 9d9f07b5f9
No known key found for this signature in database
GPG Key ID: F465B83ACBA45639

View File

@ -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.