slackbuilds_ponce/games/puzzles/doinst.sh
Erich Ritz b2dd7f839c
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 <erich.public@protonmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2023-07-25 20:40:01 +07:00

9 lines
322 B
Bash

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