From 91cf45c843d33dea491c52559cbd0f5ef8ff2cdb Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 16 Jul 2014 09:39:13 -0400 Subject: [PATCH] add a comment --- setup/functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup/functions.sh b/setup/functions.sh index 5d33b539..82423832 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -47,9 +47,14 @@ function apt_install { fi # 'DEBIAN_FRONTEND=noninteractive' is to prevent dbconfig-common from asking you questions. + # # Although we could pass -qq to apt-get to make output quieter, many packages write to stdout # and stderr things that aren't really important. Use our hide_output function to capture # all of that and only show it if there is a problem (i.e. if apt_get returns a failure exit status). + # + # Also note that we still include the whole original package list in the apt-get command in + # case it wants to upgrade anything, I guess? Maybe we can remove it. Doesn't normally make + # a difference. DEBIAN_FRONTEND=noninteractive \ hide_output \ apt-get -y install $PACKAGES