mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update scrutiny-install.sh
fixes https://github.com/tteck/Proxmox/issues/3269
This commit is contained in:
		
							parent
							
								
									a87b6c8a2b
								
							
						
					
					
						commit
						a40795a5d4
					
				| 
						 | 
					@ -27,7 +27,7 @@ msg_ok "Installed Dependencies"
 | 
				
			||||||
msg_info "Installing Scrutiny WebApp"
 | 
					msg_info "Installing Scrutiny WebApp"
 | 
				
			||||||
mkdir -p /opt/scrutiny/{config,web,bin}
 | 
					mkdir -p /opt/scrutiny/{config,web,bin}
 | 
				
			||||||
RELEASE=$(curl -s https://api.github.com/repos/analogj/scrutiny/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
 | 
					RELEASE=$(curl -s https://api.github.com/repos/analogj/scrutiny/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
 | 
				
			||||||
echo "${RELEASE}" >/opt/${APP}_version.txt
 | 
					echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
 | 
				
			||||||
wget -q -O /opt/scrutiny/config/scrutiny.yaml https://raw.githubusercontent.com/AnalogJ/scrutiny/master/example.scrutiny.yaml
 | 
					wget -q -O /opt/scrutiny/config/scrutiny.yaml https://raw.githubusercontent.com/AnalogJ/scrutiny/master/example.scrutiny.yaml
 | 
				
			||||||
wget -q -O /opt/scrutiny/bin/scrutiny-web-linux-amd64 "https://github.com/AnalogJ/scrutiny/releases/download/${RELEASE}/scrutiny-web-linux-amd64"
 | 
					wget -q -O /opt/scrutiny/bin/scrutiny-web-linux-amd64 "https://github.com/AnalogJ/scrutiny/releases/download/${RELEASE}/scrutiny-web-linux-amd64"
 | 
				
			||||||
wget -q -O /opt/scrutiny/web/scrutiny-web-frontend.tar.gz "https://github.com/AnalogJ/scrutiny/releases/download/${RELEASE}/scrutiny-web-frontend.tar.gz"
 | 
					wget -q -O /opt/scrutiny/web/scrutiny-web-frontend.tar.gz "https://github.com/AnalogJ/scrutiny/releases/download/${RELEASE}/scrutiny-web-frontend.tar.gz"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue