mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									551a9a708c
								
							
						
					
					
						commit
						8ff4c713be
					
				| 
						 | 
					@ -26,16 +26,11 @@ python3 \
 | 
				
			||||||
python3-dev \
 | 
					python3-dev \
 | 
				
			||||||
python3-pip \
 | 
					python3-pip \
 | 
				
			||||||
python3-venv
 | 
					python3-venv
 | 
				
			||||||
 | 
					rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
 | 
				
			||||||
msg_ok "Updated Python3"
 | 
					msg_ok "Updated Python3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Installing ESPHome"
 | 
					msg_info "Installing ESPHome"
 | 
				
			||||||
if [[ "$PCT_OSVERSION" == "12" ]]; then
 | 
					  $STD pip install esphome tornado esptool
 | 
				
			||||||
  $STD pip install esphome --break-system-packages
 | 
					 | 
				
			||||||
  $STD pip install tornado esptool --break-system-packages
 | 
					 | 
				
			||||||
else
 | 
					 | 
				
			||||||
  $STD pip install esphome
 | 
					 | 
				
			||||||
  $STD pip install tornado esptool
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
msg_ok "Installed ESPHome"
 | 
					msg_ok "Installed ESPHome"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
msg_info "Creating Service"
 | 
					msg_info "Creating Service"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue