From 4d3afc012b9faed809fd0e320b44d7a116ac252b Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 13 May 2024 20:00:04 -0400 Subject: [PATCH] Update frigate-install.sh Change the RELEASE= command in an attempt to fix the Segmentation fault --- install/frigate-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/frigate-install.sh b/install/frigate-install.sh index b5b53ca7..37484ccb 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -45,8 +45,8 @@ if [[ "$CTTYPE" == "0" ]]; then chmod 660 /dev/dri/* fi msg_ok "Set Up Hardware Acceleration" - -RELEASE=$(curl -s https://api.github.com/repos/blakeblackshear/frigate/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4) +RELEASE=$(curl -s https://api.github.com/repos/blakeblackshear/frigate/releases/latest | sed -n 's/.*"tag_name": "\(.*\)",/\1/p') +#RELEASE=$(curl -s https://api.github.com/repos/blakeblackshear/frigate/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4) msg_info "Installing Frigate $RELEASE (Perseverance)" cd ~ mkdir -p /opt/frigate/models