From 0e443536ccc7d7184f6cacea647a9a4851fbe018 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sat, 18 Jan 2025 21:07:19 +0100 Subject: [PATCH] update --- ct/homeassistant-core.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ct/homeassistant-core.sh b/ct/homeassistant-core.sh index df5df42d..4e601361 100644 --- a/ct/homeassistant-core.sh +++ b/ct/homeassistant-core.sh @@ -26,6 +26,13 @@ catch_errors function update_script() { header_info + + # OS Check + if ! lsb_release -d | grep -q "Ubuntu 24.10"; then + msg_error "Wrong OS detected. This script only supports Ubuntu 24.10." + msg_error "Read Guide: https://github.com/community-scripts/ProxmoxVE/discussions/1549" + exit 1 + fi check_container_storage check_container_resources if [[ ! -d /srv/homeassistant ]]; then @@ -57,7 +64,7 @@ function update_script() { msg_info "Updating Home Assistant" source /srv/homeassistant/bin/activate - uv pip install ${BR}--upgrade homeassistant &>/dev/null + pip install ${BR}--upgrade homeassistant &>/dev/null msg_ok "Updated Home Assistant" msg_info "Starting Home Assistant"