diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-05 09:18:01 +1300 |
---|---|---|
committer | Andrew Clemons <andrew.clemons@gmail.com> | 2022-02-05 09:18:01 +1300 |
commit | de0eddb5bd005450ad776da7724334148842d754 (patch) | |
tree | 895cd5f24d0e860d5906531cc809f5c8df2ee76c | |
parent | 93f73b09b2a36cd62af02aa9358bba88f3c58bd4 (diff) |
multimedia/spotify: Updated icon cache.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r-- | multimedia/spotify/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/spotify/doinst.sh b/multimedia/spotify/doinst.sh index 5fb28930db0b9..2aa41d640cb3c 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 |