Skip to content

Commit 0e44353

Browse files
authored
update
1 parent 0b73d9f commit 0e44353

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

ct/homeassistant-core.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ catch_errors
2626

2727
function update_script() {
2828
header_info
29+
30+
# OS Check
31+
if ! lsb_release -d | grep -q "Ubuntu 24.10"; then
32+
msg_error "Wrong OS detected. This script only supports Ubuntu 24.10."
33+
msg_error "Read Guide: https://github.com/community-scripts/ProxmoxVE/discussions/1549"
34+
exit 1
35+
fi
2936
check_container_storage
3037
check_container_resources
3138
if [[ ! -d /srv/homeassistant ]]; then
@@ -57,7 +64,7 @@ function update_script() {
5764

5865
msg_info "Updating Home Assistant"
5966
source /srv/homeassistant/bin/activate
60-
uv pip install ${BR}--upgrade homeassistant &>/dev/null
67+
pip install ${BR}--upgrade homeassistant &>/dev/null
6168
msg_ok "Updated Home Assistant"
6269

6370
msg_info "Starting Home Assistant"

0 commit comments

Comments
 (0)