From 6e75147b84d0f84c8991f55b24780dee3b832d52 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Wed, 31 May 2017 00:05:31 +0300 Subject: [PATCH] add libgnutls-dev --- BUILD/install_build_deps.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index 9ecfc179c..2de3c2f6c 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -17,13 +17,11 @@ then perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid \ uuid-dev libsqlite3-dev sudo apt-get install -y --force-yes libgnutls30 - if [ $? != 0 ] + res1=$? + sudo apt-get install -y --force-yes libgnutls-dev + if [ $? != 0 ] || [ $res1 != 0 ] then - sudo apt-get install -y --force-yes libgnutls-dev - if [ $? != 0 ] - then - sudo apt-get install -y --force-yes libgnutls28-dev - fi + sudo apt-get install -y --force-yes libgnutls28-dev fi sudo apt-get install -y --force-yes libgcrypt20-dev if [ $? != 0 ]