From 0e1acba2201b60f410a6ac87817b5d8079b98325 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 25 Feb 2019 10:05:45 +0000 Subject: [PATCH] updated apt-install-packages.sh --- apt-install-packages.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apt-install-packages.sh b/apt-install-packages.sh index dab19a9a..1b185bf9 100755 --- a/apt-install-packages.sh +++ b/apt-install-packages.sh @@ -17,13 +17,16 @@ set -eu [ -n "${DEBUG:-}" ] && set -x +srcdir="`dirname "$0"`" + +. "$srcdir/utils.sh" echo "Installing Deb Packages" export DEBIAN_FRONTEND=noninteractive opts="" -if [ -z "${PS1:-}" ]; then +if is_CI || ! is_interactive; then opts="-q" fi