|
|
@ -5,7 +5,7 @@ |
|
|
|
# License: MIT |
|
|
|
# License: MIT |
|
|
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE |
|
|
|
# https://github.com/tteck/Proxmox/raw/main/LICENSE |
|
|
|
|
|
|
|
|
|
|
|
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" |
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" |
|
|
|
color |
|
|
|
color |
|
|
|
verb_ip6 |
|
|
|
verb_ip6 |
|
|
|
catch_errors |
|
|
|
catch_errors |
|
|
@ -22,15 +22,15 @@ msg_ok "Installed Dependencies" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Updating Python3" |
|
|
|
msg_info "Updating Python3" |
|
|
|
$STD apt-get install -y \ |
|
|
|
$STD apt-get install -y \ |
|
|
|
python3 \ |
|
|
|
python3 \ |
|
|
|
python3-dev \ |
|
|
|
python3-dev \ |
|
|
|
python3-pip \ |
|
|
|
python3-pip \ |
|
|
|
python3-venv |
|
|
|
python3-venv |
|
|
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED |
|
|
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED |
|
|
|
msg_ok "Updated Python3" |
|
|
|
msg_ok "Updated Python3" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing ESPHome" |
|
|
|
msg_info "Installing ESPHome" |
|
|
|
$STD pip install esphome tornado esptool |
|
|
|
$STD pip install esphome tornado esptool |
|
|
|
msg_ok "Installed ESPHome" |
|
|
|
msg_ok "Installed ESPHome" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Creating Service" |
|
|
|
msg_info "Creating Service" |
|
|
|