From 91b11497dd0863ca44e9882120faafb1670837e9 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Mon, 20 Jan 2014 14:53:26 +0100 Subject: [PATCH] refined deps to install missing .deb-packages on saucy --- deps/getDeps.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/deps/getDeps.sh b/deps/getDeps.sh index 9c91520..b789875 100755 --- a/deps/getDeps.sh +++ b/deps/getDeps.sh @@ -27,3 +27,23 @@ do fi done +#hack until saucy has 2.0.1 instead of 2.0.0 + +dialog --yesno "Install libSDL2.0.1 from ubuntu trusty?\nCurrently needed for saucy as they only serve 2.0.0 in the repos" 10 50 +install=${?} + +if [[ $install -eq 0 ]] +then + echo "installing libsdl2.0.1" + if [ ! -f "libsdl2-2.0-0_2.0.1+dfsg1-1ubuntu1_amd64.deb" ] + then + wget http://de.archive.ubuntu.com/ubuntu/pool/universe/libs/libsdl2/libsdl2-2.0-0_2.0.1+dfsg1-1ubuntu1_amd64.deb + sudo dpkg -i libsdl2-2.0-0_2.0.1+dfsg1-1ubuntu1_amd64.deb + fi + if [ ! -f "libsdl2-dev_2.0.1+dfsg1-1ubuntu1_amd64.deb" ] + then + wget http://de.archive.ubuntu.com/ubuntu/pool/universe/libs/libsdl2/libsdl2-dev_2.0.1+dfsg1-1ubuntu1_amd64.deb + sudo dpkg -i libsdl2-dev_2.0.1+dfsg1-1ubuntu1_amd64.deb + fi +fi +