mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
add a comment
This commit is contained in:
parent
eac349187d
commit
91cf45c843
@ -47,9 +47,14 @@ function apt_install {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 'DEBIAN_FRONTEND=noninteractive' is to prevent dbconfig-common from asking you questions.
|
# '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
|
# 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
|
# 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).
|
# 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 \
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
hide_output \
|
hide_output \
|
||||||
apt-get -y install $PACKAGES
|
apt-get -y install $PACKAGES
|
||||||
|
Loading…
Reference in New Issue
Block a user