Update esphome-install.sh

shfmt
This commit is contained in:
tteckster 2023-06-20 10:12:16 -04:00 committed by GitHub
parent c853c24a96
commit 68e3b934ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -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"