mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update olivetin.sh
This commit is contained in:
		
							parent
							
								
									fce7ef9a1f
								
							
						
					
					
						commit
						2d9cf318f0
					
				| 
						 | 
					@ -19,6 +19,7 @@ EOF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
IP=$(hostname -I | awk '{print $1}')
 | 
					IP=$(hostname -I | awk '{print $1}')
 | 
				
			||||||
YW=$(echo "\033[33m")
 | 
					YW=$(echo "\033[33m")
 | 
				
			||||||
 | 
					BL=$(echo "\033[36m")
 | 
				
			||||||
GN=$(echo "\033[1;92m")
 | 
					GN=$(echo "\033[1;92m")
 | 
				
			||||||
CL=$(echo "\033[m")
 | 
					CL=$(echo "\033[m")
 | 
				
			||||||
BFR="\\r\\033[K"
 | 
					BFR="\\r\\033[K"
 | 
				
			||||||
| 
						 | 
					@ -54,6 +55,7 @@ RELEASE=$(curl -s https://api.github.com/repos/OliveTin/OliveTin/releases/latest
 | 
				
			||||||
wget -q github.com/OliveTin/OliveTin/releases/download/$RELEASE/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
 | 
				
			||||||
# configuration file path /etc/OliveTin/config.yaml
 | 
					# configuration file path /etc/OliveTin/config.yaml
 | 
				
			||||||
msg_ok "Installed ${APP} on $hostname"
 | 
					msg_ok "Installed ${APP} on $hostname"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue