From b2dd7f839c94c8eaa9dc86b69db418f8197904cb Mon Sep 17 00:00:00 2001 From: Erich Ritz Date: Fri, 21 Jul 2023 12:40:17 -0500 Subject: games/puzzles: Add gtk-update-icon-cache to doinst.sh The last update introduced icons to /usr/share/icons/hicolor/, so gtk-update-icon-cache needs to be added to doinst.sh. This fixes a problem revealed by sbopkglint. Signed-off-by: Erich Ritz Signed-off-by: Willy Sudiarto Raharjo --- games/puzzles/doinst.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/games/puzzles/doinst.sh b/games/puzzles/doinst.sh index 5fb28930db..65c7e2eeb9 100644 --- a/games/puzzles/doinst.sh +++ b/games/puzzles/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