diff --git a/middleware/middleware-installer.sh b/middleware/middleware-installer.sh index 446b8a4..84f5c05 100644 --- a/middleware/middleware-installer.sh +++ b/middleware/middleware-installer.sh @@ -32,7 +32,7 @@ system-information # Pre-Checks system requirements function installing-system-requirements() { - if { [ "${CURRENT_DISTRO}" == "ubuntu" ] && [ "${CURRENT_DISTRO_VERSION_MAJOR}" == "22" ]; }; then + if { [ "${CURRENT_DISTRO}" == "ubuntu" ] && [ "${CURRENT_DISTRO_VERSION_MAJOR}" -gt "22" ]; }; then if { [ ! -x "$(command -v cut)" ] || [ ! -x "$(command -v git)" ] || [ ! -x "$(command -v ffmpeg)" ] || [ ! -x "$(command -v zip)" ] || [ ! -x "$(command -v unzip)" ] || [ ! -x "$(command -v systemd-detect-virt)" ] || [ ! -x "$(command -v python)" ]; }; then if [ "${CURRENT_DISTRO}" == "ubuntu" ]; then apt-get update