From 3bdd9f6f9b8d16a16e8455b99988308acdc4974e Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz Date: Wed, 6 Dec 2023 15:44:00 +0100 Subject: [PATCH] fix: fix versioncontrol check for pi5 Signed-off-by: Patrick Gehrsitz --- libs/versioncontrol.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/versioncontrol.sh b/libs/versioncontrol.sh index 806bf120..2c7b1850 100644 --- a/libs/versioncontrol.sh +++ b/libs/versioncontrol.sh @@ -42,7 +42,9 @@ versioncontrol() { # Camera Streamer has no version Output yet get_ayucamstream_version() { local cur_ver avail_ver - if [[ "$(is_raspberry_pi)" = "1" ]] && [[ "$(is_ubuntu_arm)" = "0" ]]; then + if [[ "$(is_raspberry_pi)" = "1" ]] && + [[ "$(is_ubuntu_arm)" = "0" ]] && + [[ "$(is_pi5)" = "0" ]]; then pushd "${BASE_CN_PATH}"/bin/camera-streamer &> /dev/null || exit 1 avail_ver="($(git describe --tags --always))" cur_ver="$("${PWD}"/camera-streamer --version | tr -d " ")"