From 55129cb9f6526cd7f88907bf2cb673b2959bbc68 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 13 Jan 2015 22:42:33 -0500 Subject: [PATCH] Keep existing configuration files when installing nginx. Refs #886 --- plugins/nginx-vhosts/dependencies | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/dependencies b/plugins/nginx-vhosts/dependencies index db5a54b6aa9..b5e0339c30e 100755 --- a/plugins/nginx-vhosts/dependencies +++ b/plugins/nginx-vhosts/dependencies @@ -3,11 +3,12 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x case "$DOKKU_DISTRO" in ubuntu) + export DEBIAN_FRONTEND=noninteractive [[ -z "$CIRCLECI" ]] && apt-get install -qq -y software-properties-common python-software-properties [[ -n "$CIRCLECI" ]] && aptitude install -q -y software-properties-common python-software-properties add-apt-repository -y ppa:nginx/stable apt-get update - apt-get install -qq -y nginx dnsutils + apt-get install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes -qq -y nginx dnsutils ;; opensuse)