installer: need at least ubuntu 22

This commit is contained in:
Girish Ramakrishnan
2026-01-30 09:55:53 +01:00
parent 16a8caa8db
commit 89b6513217
+2 -2
View File
@@ -73,8 +73,8 @@ readonly is_update=$(systemctl is-active -q box && echo "yes" || echo "no")
log "Updating from $(cat $box_src_dir/VERSION 2>/dev/null) to $(cat $box_src_next_dir/VERSION 2>/dev/null)"
if [[ "${ubuntu_version}" == "18.04" ]]; then
log "This Cloudron version requires atleast Ubuntu 20.04. Please upgrade following https://docs.cloudron.io/guides/upgrade-ubuntu-20/"
if [[ "${ubuntu_version}" == "22.04" ]]; then
log "This Cloudron version requires atleast Ubuntu 22.04. Please upgrade following https://docs.cloudron.io/guides/upgrade-ubuntu-22/"
exit 2
fi