aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 09:18:01 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 09:18:01 +1300
commitde0eddb5bd005450ad776da7724334148842d754 (patch)
tree895cd5f24d0e860d5906531cc809f5c8df2ee76c /multimedia
parent93f73b09b2a36cd62af02aa9358bba88f3c58bd4 (diff)
downloadslackbuilds-de0eddb5bd005450ad776da7724334148842d754.tar.xz
multimedia/spotify: Updated icon cache.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/spotify/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/spotify/doinst.sh b/multimedia/spotify/doinst.sh
index 5fb28930db0b..2aa41d640cb3 100644
--- a/multimedia/spotify/doinst.sh
+++ b/multimedia/spotify/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi \ No newline at end of file