File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,13 @@ catch_errors
2626
2727function 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"
You can’t perform that action at this time.
0 commit comments