Update homeassistant-install.sh

Debian 12 compatible 
fixes https://github.com/tteck/Proxmox/issues/1514
This commit is contained in:
tteckster 2023-06-19 18:06:08 -04:00 committed by GitHub
parent e924af362f
commit c335d39350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 2 deletions

View File

@ -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 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() {