Adds 12.04 specific package install support

This commit adds a check to the install process to see if we are installing on Ubuntu 12.04 or not. If we are installing on 12.04 slightly different packages are installed. Based on smathermather@sha: da459e2a27
pull/45/head
bgirardot 2015-02-03 23:36:50 +01:00
rodzic a5cdde31ad
commit cad670a103
1 zmienionych plików z 15 dodań i 1 usunięć

Wyświetl plik

@ -107,6 +107,20 @@ echo " - updating"
sudo apt-get update --assume-yes > "$TOOLS_LOG_PATH/apt-get_get.log" 2>&1
echo " - installing"
if [[ `lsb_release -rs` == "12.04" ]];
then
sudo apt-get install --assume-yes --install-recommends \
build-essential cmake g++ gcc gFortran perl git autoconf \
curl wget \
unzip \
imagemagick jhead proj-bin libproj-dev\
libjpeg-dev libboost1.48-all-dev libgsl0-dev libx11-dev libxext-dev liblapack-dev \
libeigen3-dev libflann-dev libvtk5-dev libqhull-dev libusb-1.0-0-dev\
libzip-dev \
libcv-dev libcvaux-dev libopencv-dev \
> "$TOOLS_LOG_PATH/apt-get_install.log" 2>&1
else
sudo apt-get install --assume-yes --install-recommends \
build-essential cmake g++ gcc gFortran perl git autoconf \
curl wget \
@ -117,7 +131,7 @@ sudo apt-get install --assume-yes --install-recommends \
libzip-dev \
libcv-dev libcvaux-dev libopencv-dev \
> "$TOOLS_LOG_PATH/apt-get_install.log" 2>&1
fi
echo " < done - `date`"