diff --git a/spotify-deb-install b/spotify-deb-install index a5cd7ad..4d9e572 100755 --- a/spotify-deb-install +++ b/spotify-deb-install @@ -3,9 +3,9 @@ # Script to install Spotify on Debian/Ubuntu # Created by q3aql (q3aql@openmailbox.org) # Licensed by GPL v.2 -# Last update: 01-03-2016 +# Last update: 03-03-2016 # -------------------------------------- -VERSION=0.2 +VERSION=0.2.1 SPOTIFY_VERSION=`spotify --version | cut -d "," -f 1` URL_SPOTIFY="http://repository.spotify.com/pool/non-free/s/spotify-client" @@ -91,8 +91,8 @@ fi fi #Get the current versions of Spotify. -SPOTIFY_32=`curl $URL_SPOTIFY/ | cut -d ">" -f 2 | cut -d "<" -f 1 | grep i386` -SPOTIFY_64=`curl $URL_SPOTIFY/ | cut -d ">" -f 2 | cut -d "<" -f 1 | grep amd64` +SPOTIFY_32=`curl $URL_SPOTIFY/ | cut -d ">" -f 2 | cut -d "<" -f 1 | grep i386 | tail -n 1` +SPOTIFY_64=`curl $URL_SPOTIFY/ | cut -d ">" -f 2 | cut -d "<" -f 1 | grep amd64 | tail -n 1` MESSAGE_32=`clear && echo "Downloading $SPOTIFY_32 ($NAME_APP_DOWNLOAD)"` MESSAGE_64=`clear && echo "Downloading $SPOTIFY_64 ($NAME_APP_DOWNLOAD)"` if [ $? -eq 0 ] ; then