1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-18 00:50:07 +00:00

Add Ubuntu 24.04 support to installer version check

webvirtcloud.sh's Ubuntu branch only matched 18.04/20.04/22.04, so
running it on 24.04 (Noble) silently no-ops the entire install block
instead of installing anything. Verified end-to-end on a real 24.04
host: with this check extended, the rest of the Ubuntu install path
(package list, venv setup, nginx/supervisor config) works unmodified.
This commit is contained in:
Mikhail Bobkov 2026-09-24 18:27:27 +04:00
parent 1b2da68b28
commit 1f62f150a0

View file

@ -539,8 +539,8 @@ case $distro in
fi
;;
ubuntu)
if [ "$version" == "18.04" ] || [ "$version" == "20.04" ] || [ "$version" == "22.04" ]; then
# Install for Ubuntu 18 / 20
if [ "$version" == "18.04" ] || [ "$version" == "20.04" ] || [ "$version" == "22.04" ] || [ "$version" == "24.04" ]; then
# Install for Ubuntu 18 / 20 / 22 / 24
tzone=\'$(cat /etc/timezone)\'
echo -n "* Updating installed packages."