Skip to content

Commit

Permalink
[skip ci] Updated install_dependencies.sh to avoid prompting for user…
Browse files Browse the repository at this point in the history
… input (#15977)
  • Loading branch information
sagarwalTT authored Dec 13, 2024
1 parent 8d1206f commit 28184de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 28184de

Please sign in to comment.