installer: need at least ubuntu 22
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user