From 6799677cefab9013538b6a6291f47278672748d6 Mon Sep 17 00:00:00 2001 From: Samarth Agarwal Date: Tue, 17 Dec 2024 11:14:48 -0500 Subject: [PATCH] [skip ci] Updated installation script to not prompt for user input (#16101) --- install_dependencies.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install_dependencies.sh b/install_dependencies.sh index fec8cd1c99f..e8698fb73d1 100755 --- a/install_dependencies.sh +++ b/install_dependencies.sh @@ -22,7 +22,6 @@ 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() { @@ -122,7 +121,7 @@ install() prep_ubuntu echo "Installing packages..." - apt-get install -y --no-install-recommends "${UB_LIST[@]}" + DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends "${UB_LIST[@]}" fi }