Update homeassistant-install.sh

tweak
This commit is contained in:
tteckster 2023-06-20 09:44:48 -04:00 committed by GitHub
parent ddd5b89be4
commit 551a9a708c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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