From b6c546ecaf4234542df91906bf27cc967b029ebb Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 22 Aug 2021 21:37:47 +1200 Subject: misc/projectM: Fix icon cache handling. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- misc/projectM/doinst.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'misc') diff --git a/misc/projectM/doinst.sh b/misc/projectM/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/misc/projectM/doinst.sh +++ b/misc/projectM/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 -- cgit v1.2.3