spotify: fix warnings while updating. fixes #1044
This commit is contained in:
		| @@ -6,7 +6,7 @@ _LIBS=$(ldconfig -vNX -n /usr/lib 2>/dev/null) | ||||
|  | ||||
| linklib() { | ||||
|     _LIB=$(echo "$_LIBS" | grep -m 1 "${1}\.so" | sed 's/\s*\([^ ]*\).*$/\1/') | ||||
|     ln -s "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}" | ||||
|     ln -sf "/usr/lib/${_LIB}" "/usr/share/spotify/libs/${1}.so.${2}" | ||||
| } | ||||
|  | ||||
| if test "$ACTION" = "post"; then | ||||
| @@ -29,10 +29,10 @@ if test "$ACTION" = "post"; then | ||||
| 	mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client | ||||
| 	for _s in 16 22 24 32 48 64 128 256 512; do | ||||
| 		mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps" | ||||
| 		ln -s "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png" | ||||
| 		ln -sf "/usr/share/spotify/spotify-client/Icons/spotify-linux-${_s}.png" "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png" | ||||
| 	done | ||||
| 	mkdir -p /usr/share/applications | ||||
| 	ln -s /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop | ||||
| 	ln -sf /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop | ||||
|  | ||||
| 	if test "$ARCH" = "x86_64"; then | ||||
| 		linklib "libssl" "1.0.0" | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # Template build file for 'spotify'. | ||||
| pkgname=spotify | ||||
| version=0.9 | ||||
| revision=4 | ||||
| revision=5 | ||||
| short_desc="Proprietary music streaming client" | ||||
| maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>" | ||||
| homepage="https://www.spotify.com" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Enno Boland
					Enno Boland