From c335d393503551a9e20870edbc2e0108bfa69bfd Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 19 Jun 2023 18:06:08 -0400 Subject: [PATCH] Update homeassistant-install.sh Debian 12 compatible fixes https://github.com/tteck/Proxmox/issues/1514 --- install/homeassistant-install.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/install/homeassistant-install.sh b/install/homeassistant-install.sh index 789ec5ea..40eb9ba3 100644 --- a/install/homeassistant-install.sh +++ b/install/homeassistant-install.sh @@ -20,8 +20,17 @@ $STD apt-get install -y mc msg_ok "Installed Dependencies" msg_info "Installing runlike" -$STD apt-get install -y python3-pip -$STD pip3 install runlike +$STD apt-get install -y \ +python3 \ +python3-dev \ +python3-pip \ +python3-venv +if [[ "$PCT_OSVERSION" == "12" ]]; then + $STD apt-get install -y pipx + $STD pipx install runlike +else + $STD pip3 install runlike +fi msg_ok "Installed runlike" get_latest_release() {