From 28184ded9aed81960fb6d9d71f094e1c1a199573 Mon Sep 17 00:00:00 2001 From: Samarth Agarwal Date: Thu, 12 Dec 2024 22:12:48 -0500 Subject: [PATCH] [skip ci] Updated install_dependencies.sh to avoid prompting for user input (#15977) --- install_dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_dependencies.sh b/install_dependencies.sh index 8c65888184c..fec8cd1c99f 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -22,6 +22,7 @@ FLAVOR=`grep '^ID=' /etc/os-release | awk -F= '{print $2}' | tr -d '"'` VERSION=`grep '^VERSION_ID=' /etc/os-release | awk -F= '{print $2}' | tr -d '"'` MAJOR=${VERSION%.*} ARCH=`uname -m` +DEBIAN_FRONTEND="noninteractive" usage() { @@ -121,7 +122,7 @@ install() prep_ubuntu echo "Installing packages..." - apt-get install -y "${UB_LIST[@]}" + apt-get install -y --no-install-recommends "${UB_LIST[@]}" fi }