mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update caddy.sh
Support for custom caddy builds as per https://caddyserver.com/docs/build#package-support-files-for-custom-builds-for-debianubunturaspbian
This commit is contained in:
		
							parent
							
								
									b129cb1767
								
							
						
					
					
						commit
						1afefda51f
					
				| 
						 | 
					@ -58,6 +58,7 @@ if [[ ! -d /etc/caddy ]]; then msg_error "No ${APP} Installation Found!"; exit;
 | 
				
			||||||
msg_info "Updating $APP LXC"
 | 
					msg_info "Updating $APP LXC"
 | 
				
			||||||
apt-get update &>/dev/null
 | 
					apt-get update &>/dev/null
 | 
				
			||||||
apt-get -y upgrade &>/dev/null
 | 
					apt-get -y upgrade &>/dev/null
 | 
				
			||||||
 | 
					caddy upgrade &>/dev/null # Support for custom caddy builds as per https://caddyserver.com/docs/build#package-support-files-for-custom-builds-for-debianubunturaspbian
 | 
				
			||||||
msg_ok "Updated $APP LXC"
 | 
					msg_ok "Updated $APP LXC"
 | 
				
			||||||
exit
 | 
					exit
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue