aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-11 16:48:08 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-03-11 16:48:08 +0100
commit8f601d1a2d56991356096c974c153b785aace9cc (patch)
tree9c99fe70d03f6f37ae380e2c08134492d5216d92
parent3fe85b5ee82962394e500d1f29f4e8f79be30b0f (diff)
downloadmmbtools-aux-8f601d1a2d56991356096c974c153b785aace9cc.tar.gz
mmbtools-aux-8f601d1a2d56991356096c974c153b785aace9cc.tar.bz2
mmbtools-aux-8f601d1a2d56991356096c974c153b785aace9cc.zip
Add buster to debian.sh (untested)
-rw-r--r--installer/debian.sh30
1 files changed, 20 insertions, 10 deletions
diff --git a/installer/debian.sh b/installer/debian.sh
index 0585514..89c1bef 100644
--- a/installer/debian.sh
+++ b/installer/debian.sh
@@ -11,7 +11,7 @@
# * ODR-PadEnc
#
# and all required dependencies for a
-# Debian stable system.
+# Debian system.
#
# Requires: sudo
@@ -23,13 +23,15 @@ DISTRO="unknown"
if [ $(lsb_release -d | grep -c wheezy) -eq 1 ] ; then
echo -e $RED
- echo "Warning, debian wheezy is not supported anymore"
+ echo "Error, debian wheezy is not supported anymore"
echo -e $NORMAL
exit 1
elif [ $(lsb_release -d | grep -c jessie) -eq 1 ] ; then
DISTRO="jessie"
elif [ $(lsb_release -d | grep -c stretch) -eq 1 ] ; then
DISTRO="stretch"
+elif [ $(lsb_release -d | grep -c buster) -eq 1 ] ; then
+ DISTRO="buster"
fi
echo
@@ -43,7 +45,7 @@ echo $DISTRO
if [ "$DISTRO" == "unknown" ] ; then
echo -e $RED
echo "You seem to be running something else than"
- echo "debian jessie or stretch. This script doesn't"
+ echo "debian jessie, stretch or buster. This script doesn't"
echo "support your distribution."
echo -e $NORMAL
exit 1
@@ -109,10 +111,24 @@ sudo apt-get -y install build-essential git wget \
libfftw3-dev \
libcurl4-openssl-dev \
libmagickwand-dev \
- libvlc-dev vlc-nox \
+ libvlc-dev vlc-data \
libfaad2 libfaad-dev \
python-mako python-requests
+if [[ "$DISTRO" == "jessie" || "$DISTRO" == "stretch" ]] ; then
+ sudo apt-get -y vlc-nox
+elif [ "$DISTRO" == "buster" ] ; then
+ sudo apt-get -y vlc-plugins-base
+fi
+
+if [ "$DISTRO" == "jessie" ] ; then
+ sudo apt-get -y install libzmq3-dev libzmq3
+elif [ "$DISTRO" == "stretch" ] ; then
+ sudo apt-get -y install libzmq3-dev libzmq5
+elif [ "$DISTRO" == "buster" ] ; then
+ sudo apt-get -y install libzmq5-dev libzmq5
+fi
+
# this will install boost, cmake and a lot more
sudo apt-get -y build-dep uhd
@@ -134,12 +150,6 @@ popd
echo -e "$GREEN Downloading UHD device images $NORMAL"
sudo /usr/local/lib/uhd/utils/uhd_images_downloader.py
-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"
### END OF PREREQUISITES