mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Update mafl.sh
"SET RESOURCES" whiptail
This commit is contained in:
		@@ -55,7 +55,7 @@ function default_settings() {
 | 
			
		||||
function update_script() {
 | 
			
		||||
  header_info
 | 
			
		||||
  if [[ ! -d /opt/mafl ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
 | 
			
		||||
  whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75
 | 
			
		||||
  RELEASE=$(curl -s https://api.github.com/repos/hywax/mafl/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
			
		||||
  msg_info "Updating Mafl to v${RELEASE} (Patience)"
 | 
			
		||||
  systemctl stop mafl
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user