From 8ff4c713bee283722bafb04a8daf27617b8a4e49 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 20 Jun 2023 09:46:16 -0400 Subject: [PATCH] Update esphome-install.sh tweak --- install/esphome-install.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/install/esphome-install.sh b/install/esphome-install.sh index f1997067..b7ea34c6 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -26,16 +26,11 @@ python3 \ python3-dev \ python3-pip \ python3-venv +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Updated Python3" msg_info "Installing ESPHome" -if [[ "$PCT_OSVERSION" == "12" ]]; then - $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 + $STD pip install esphome tornado esptool msg_ok "Installed ESPHome" msg_info "Creating Service"