Update frigate-install.sh

revert
pull/3001/head
tteckster 6 months ago committed by GitHub
parent 4d3afc012b
commit 48ae95bdea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 | 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)
#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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.