mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									0fdd88a5ed
								
							
						
					
					
						commit
						b2f7ebe759
					
				| 
						 | 
					@ -51,12 +51,10 @@ function msg_ok() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing ${APP}"
 | 
					msg_info "Installing ${APP}"
 | 
				
			||||||
RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
 | 
					wget -q https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb
 | 
				
			||||||
wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/OliveTin_linux_amd64.deb
 | 
					 | 
				
			||||||
dpkg -i OliveTin_linux_amd64.deb &>/dev/null
 | 
					dpkg -i OliveTin_linux_amd64.deb &>/dev/null
 | 
				
			||||||
systemctl enable --now OliveTin &>/dev/null
 | 
					systemctl enable --now OliveTin &>/dev/null
 | 
				
			||||||
rm OliveTin_linux_amd64.deb
 | 
					rm OliveTin_linux_amd64.deb
 | 
				
			||||||
# configuration file path /etc/OliveTin/config.yaml
 | 
					 | 
				
			||||||
msg_ok "Installed ${APP} on $hostname"
 | 
					msg_ok "Installed ${APP} on $hostname"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_ok "Completed Successfully!\n"
 | 
					msg_ok "Completed Successfully!\n"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue