Remove very old ubuntu 16 and 18 from cloudron-setup

This commit is contained in:
Johannes Zellner
2026-01-22 12:23:45 +01:00
parent 92dcf19511
commit 3bf4bddc10

View File

@@ -115,8 +115,8 @@ fi
# Only --help works with mismatched ubuntu
ubuntu_version=$(lsb_release -rs)
if [[ "${ubuntu_version}" != "16.04" && "${ubuntu_version}" != "18.04" && "${ubuntu_version}" != "20.04" && "${ubuntu_version}" != "22.04" && "${ubuntu_version}" != "24.04" ]]; then
echo "Cloudron requires Ubuntu 18.04, 20.04, 22.04, 24.04" > /dev/stderr
if [[ "${ubuntu_version}" != "20.04" && "${ubuntu_version}" != "22.04" && "${ubuntu_version}" != "24.04" ]]; then
echo "Cloudron requires Ubuntu 20.04, 22.04, 24.04" > /dev/stderr
exit 1
fi