mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update frigate-install.sh
Change the RELEASE= command in an attempt to fix the Segmentation fault
This commit is contained in:
		
							parent
							
								
									a04fd986dc
								
							
						
					
					
						commit
						4d3afc012b
					
				| 
						 | 
					@ -45,8 +45,8 @@ if [[ "$CTTYPE" == "0" ]]; then
 | 
				
			||||||
  chmod 660 /dev/dri/*
 | 
					  chmod 660 /dev/dri/*
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
msg_ok "Set Up Hardware Acceleration"
 | 
					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 | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4)
 | 
				
			||||||
msg_info "Installing Frigate $RELEASE (Perseverance)"
 | 
					msg_info "Installing Frigate $RELEASE (Perseverance)"
 | 
				
			||||||
cd ~
 | 
					cd ~
 | 
				
			||||||
mkdir -p /opt/frigate/models
 | 
					mkdir -p /opt/frigate/models
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue