From 8f601d1a2d56991356096c974c153b785aace9cc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 11 Mar 2018 16:48:08 +0100 Subject: Add buster to debian.sh (untested) --- installer/debian.sh | 30 ++++++++++++++++++++---------- 1 file 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 -- cgit v1.2.3