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