aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-30 13:59:13 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-30 13:59:13 +0200
commit5801e3c23b76e026762fc8a6088e90d975730ed4 (patch)
tree63299e47a314f141a18e22d290e29bf30d5a777d
parent03e1286bc5e7f52c0712c991fa8f7771724a0516 (diff)
downloadmmbtools-aux-5801e3c23b76e026762fc8a6088e90d975730ed4.tar.gz
mmbtools-aux-5801e3c23b76e026762fc8a6088e90d975730ed4.tar.bz2
mmbtools-aux-5801e3c23b76e026762fc8a6088e90d975730ed4.zip
Select correct libzmq for debian stretch
-rw-r--r--installer/debian.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/installer/debian.sh b/installer/debian.sh
index dd36002..4a92ff9 100644
--- a/installer/debian.sh
+++ b/installer/debian.sh
@@ -134,7 +134,11 @@ popd
echo -e "$GREEN Downloading UHD device images $NORMAL"
sudo /usr/local/lib/uhd/utils/uhd_images_downloader.py
-sudo apt-get -y install libzmq3-dev libzmq3
+if [ "$DISTRO" == "jessie" ] ; then
+ sudo apt-get -y install libzmq3-dev libzmq3
+elif [ "$DISTRO" == "stretch" ] ; then
+ sudo apt-get -y install libzmq3-dev libzmq5
+fi
echo
echo -e "$GREEN PREREQUISITES INSTALLED $NORMAL"