From f0d60ac7def28bc7bc7af08ca4f9b91936fac3a7 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 29 Jun 2016 01:30:31 +0300 Subject: install-deps: run apt-get with --yes Otherwise it will make interactive prompts. --- tools/install-deps | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/install-deps b/tools/install-deps index d4daee6..5daf90d 100755 --- a/tools/install-deps +++ b/tools/install-deps @@ -5,23 +5,23 @@ set -xue if [[ "$OSTYPE" =~ "linux" ]]; then if which apt-get && which dpkg; then # Debian or Ubuntu - apt-get install \ + apt-get --yes install \ autoconf automake autopoint bash bison bzip2 flex gettext\ git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev \ libtool libltdl-dev libssl-dev libxml-parser-perl make \ openssl p7zip-full patch perl pkg-config python ruby scons \ sed unzip wget xz-utils if ! [[ `uname -m` =~ "i686" ]]; then - apt-get install g++-multilib libc6-dev-i386 + apt-get --yes install g++-multilib libc6-dev-i386 fi DIST=`lsb_release -si` REL=`lsb_release -sr` if [[ $DIST =~ "Debian" ]] && (( `echo "$REL > 8" | bc -l` )) || \ [[ $DIST =~ "Ubuntu" ]] && (( `echo "$REL > 14.10" | bc -l` )); then - apt-get install libtool-bin + apt-get --yes install libtool-bin fi # install Lua for build-pkg - apt-get install lua5.1 + apt-get --yes install lua5.1 elif which yum; then # Fedora yum install \ -- cgit v0.12