spotify: Changed icon names
This commit is contained in:
parent
930ea4465d
commit
93c668b11b
|
@ -29,7 +29,7 @@ if test "$ACTION" = "post"; then
|
||||||
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
mv "${_BUILDDIR}/opt/spotify/spotify-client" /usr/share/spotify/spotify-client
|
||||||
for _s in 16 22 24 32 48 64 128 256 512; do
|
for _s in 16 22 24 32 48 64 128 256 512; do
|
||||||
mkdir -p "/usr/share/icons/hicolor/${_s}x${_s}/apps"
|
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
|
done
|
||||||
mkdir -p /usr/share/applications
|
mkdir -p /usr/share/applications
|
||||||
ln -s /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
|
ln -s /usr/share/spotify/spotify-client/spotify.desktop /usr/share/applications/spotify.desktop
|
||||||
|
|
|
@ -5,7 +5,7 @@ if test "$ACTION" = "post"; then
|
||||||
rm -r /usr/share/licenses/spotify
|
rm -r /usr/share/licenses/spotify
|
||||||
rm /usr/share/applications/spotify.desktop
|
rm /usr/share/applications/spotify.desktop
|
||||||
for _s in 16 22 24 32 48 64 128 256 512; do
|
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
|
done
|
||||||
rm -r /usr/share/spotify
|
rm -r /usr/share/spotify
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue