summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-06-28 22:30:31 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-06-28 22:30:31 (GMT)
commitf0d60ac7def28bc7bc7af08ca4f9b91936fac3a7 (patch)
tree0fed86480e66d107a0be3c8165123b9bf8e3adeb /tools
parent8f27dbac8cf48f2edabbb24b26e5292003262e36 (diff)
downloadmxe-f0d60ac7def28bc7bc7af08ca4f9b91936fac3a7.zip
mxe-f0d60ac7def28bc7bc7af08ca4f9b91936fac3a7.tar.gz
mxe-f0d60ac7def28bc7bc7af08ca4f9b91936fac3a7.tar.bz2
install-deps: run apt-get with --yes
Otherwise it will make interactive prompts.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install-deps8
1 files 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 \