From 20eb505fd6fe49c482219692af20a76a1610ff69 Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Sun, 19 Jul 2015 10:42:45 +0200 Subject: [PATCH] fixed an error where the interactive installation method would be chosen on Travis --- ubuntu/configure_fresh_system | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ubuntu/configure_fresh_system b/ubuntu/configure_fresh_system index bee8327b..a611a0a7 100755 --- a/ubuntu/configure_fresh_system +++ b/ubuntu/configure_fresh_system @@ -1,9 +1,11 @@ #!/bin/bash # detect if building inside a CI system, like Travis if [ -z ${IN_CI+x} ]; then - COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\""; -else + echo "choosing the more interactive installation method" COMMAND_PREFIX="apt-get -y"; +else + echo "choosing totally noninteractive installation method" + COMMAND_PREFIX="DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=\"--force-confdef\" -o Dpkg::Options::=\"--force-confnew\""; fi sudo apt-get update