Ubuntu 24.04
* update docker to 26.0.1 * cloudron-syslog needs to have correct perms for fifo socket
This commit is contained in:
@@ -117,8 +117,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" ]]; then
|
||||
echo "Cloudron requires Ubuntu 18.04, 20.04, 22.04" > /dev/stderr
|
||||
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
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -217,6 +217,11 @@ if ! grep -q avx /proc/cpuinfo; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "${ubuntu_version}" == "24.04" ]] && ! vergte "${version}" "8.0.0"; then
|
||||
echo "Cloudron >= 8.0.0 required for installation on Ubuntu ${ubuntu_version}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! sourceTarballUrl=$(echo "${releaseJson}" | python3 -c 'import json,sys;obj=json.load(sys.stdin);print(obj["info"]["sourceTarballUrl"])'); then
|
||||
echo "No source code for version '${requestedVersion:-latest}'"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user