Browse Source

Update homeassistant-install.sh

tweak
tteckster 2 years ago
parent
commit
551a9a708c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      install/homeassistant-install.sh

+ 6 - 6
install/homeassistant-install.sh

@@ -19,17 +19,17 @@ $STD apt-get install -y sudo
 $STD apt-get install -y mc
 msg_ok "Installed Dependencies"
 
-msg_info "Installing runlike"
+msg_info "Updating Python3"
 $STD apt-get install -y \
 python3 \
 python3-dev \
 python3-pip \
 python3-venv
-if [[ "$PCT_OSVERSION" == "12" ]]; then
-  $STD pip install runlike --break-system-packages
-else
-  $STD pip install runlike
-fi
+rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
+msg_ok "Updated Python3"
+
+msg_info "Installing runlike"
+$STD pip install runlike
 msg_ok "Installed runlike"
 
 get_latest_release() {