From 7acc693277f1c8af9ef4ad7e085e0c7820dea3e3 Mon Sep 17 00:00:00 2001 From: Babis Kaidos Date: Wed, 18 Mar 2015 17:59:29 +0200 Subject: [PATCH] New netbee library is installed for Ubuntu 14.04 and newer. For older releases or for other OSs the old netbee is installed --- util/install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/util/install.sh b/util/install.sh index 524e506..70797fe 100755 --- a/util/install.sh +++ b/util/install.sh @@ -189,11 +189,17 @@ function of13 { fi # Install netbee - NBEESRC="nbeesrc-feb-24-2015" + if [ "$DIST" = "Ubuntu" ] && version_ge $RELEASE 14.04; then + NBEESRC="nbeesrc-feb-24-2015" + NBEEDIR="netbee" + else + NBEESRC="nbeesrc-jan-10-2013" + NBEEDIR="nbeesrc-jan-10-2013" + fi + NBEEURL=${NBEEURL:-http://www.nbee.org/download/} wget -nc ${NBEEURL}${NBEESRC}.zip unzip ${NBEESRC}.zip - NBEEDIR=netbee cd ${NBEEDIR}/src cmake . make