spotify: Changed icon names

This commit is contained in:
Stefan Mühlinghaus 2015-01-22 10:57:28 +01:00
parent 930ea4465d
commit 93c668b11b
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ 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.png"
ln -s "/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

View File

@ -5,7 +5,7 @@ if test "$ACTION" = "post"; then
rm -r /usr/share/licenses/spotify
rm /usr/share/applications/spotify.desktop
for _s in 16 22 24 32 48 64 128 256 512; do
rm "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify.png"
rm "/usr/share/icons/hicolor/${_s}x${_s}/apps/spotify-client.png"
done
rm -r /usr/share/spotify
fi