Skip to content

Commit

Permalink
Update middleware-installer.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Prajwal Koirala <[email protected]>
  • Loading branch information
Prajwal Koirala authored Jul 12, 2024
1 parent 9670b81 commit ea44343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/middleware-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea44343

Please sign in to comment.