From d06378ed085756947418235e0b3e81dba82a9ae5 Mon Sep 17 00:00:00 2001 From: Shivansh Gahlot <42472145+ShivanshGahlot@users.noreply.github.com> Date: Mon, 20 Jan 2025 18:13:21 +0530 Subject: [PATCH] Added misc fixes to installer script (#2169) --- installer_scripts/install-yb-voyager | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer_scripts/install-yb-voyager b/installer_scripts/install-yb-voyager index 44a49c462..0b1a86c97 100755 --- a/installer_scripts/install-yb-voyager +++ b/installer_scripts/install-yb-voyager @@ -185,7 +185,7 @@ ubuntu_main() { fi output "Installing packages." - sudo apt-get -y install wget 1>&2 + sudo apt-get -y install wget make gcc 1>&2 sudo apt-get -y install sqlite3 1>&2 install_golang linux ubuntu_install_postgres @@ -318,7 +318,7 @@ check_java() { then output "Found sufficient java version = ${JAVA_COMPLETE_VERSION}" else - output "ERROR: Java not found or insuffiencient version ${JAVA_COMPLETE_VERSION}. Please install java>=${MIN_REQUIRED_MAJOR_VERSION}" + echo -e "\e[31mERROR: Java not found or insufficient version ${JAVA_COMPLETE_VERSION}. Please install java>=${MIN_REQUIRED_MAJOR_VERSION}\e[0m" exit 1; fi }