Initial support for ubuntu 22.04 Jammy Jellyfish

This commit is contained in:
Girish Ramakrishnan
2022-04-21 11:07:43 -07:00
parent 4306e20a8e
commit f5a2e8545b
2 changed files with 43 additions and 9 deletions

View File

@@ -101,8 +101,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" ]]; then
echo "Cloudron requires Ubuntu 16.04, 18.04 or 20.04" > /dev/stderr
if [[ "${ubuntu_version}" != "16.04" && "${ubuntu_version}" != "18.04" && "${ubuntu_version}" != "20.04" && "${ubuntu_version}" != "22.04" ]]; then
echo "Cloudron requires Ubuntu 18.04, 20.04, 22.04" > /dev/stderr
exit 1
fi