diff --git a/bootstrap.sh b/bootstrap.sh index 286ee19..4fb935b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -21,8 +21,11 @@ LOCALES=( "en_US.UTF-8" ) -# APT_CMD="apt-get -qq" # -qq includes -y -APT_CMD="apt-get -y" # -qq includes -y +export DEBIAN_FRONTEND=noninteractive +# Configure apt-get to run non-interactively and handle configuration files safely: +# --force-confdef : automatically select the default action for modified configuration files +# --force-confold : keep existing configuration files when a conflict is detected +APT_CMD="apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold" APT_INSTALL="${APT_CMD} install" USR_BIN_DIR=/usr/local/bin