Add special case commands for instances where we are running dokku in debian

Refs #976
This commit is contained in:
Jose Diaz-Gonzalez
2015-10-24 23:12:38 -04:00
parent 6674d7823e
commit 18d6e1be3b
6 changed files with 25 additions and 3 deletions

View File

@@ -2,6 +2,11 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
case "$DOKKU_DISTRO" in
debian)
export DEBIAN_FRONTEND=noninteractive
apt-get install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes -qq -y nginx dnsutils
;;
ubuntu)
export DEBIAN_FRONTEND=noninteractive
[[ -z "$CIRCLECI" ]] && apt-get install -qq -y software-properties-common python-software-properties