diff options
Diffstat (limited to 'games/gnubg/doinst.sh')
-rw-r--r-- | games/gnubg/doinst.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/games/gnubg/doinst.sh b/games/gnubg/doinst.sh index 02b89b3fe3..9f1846bc38 100644 --- a/games/gnubg/doinst.sh +++ b/games/gnubg/doinst.sh @@ -1,3 +1,10 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database ./usr/share/applications &> /dev/null + /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null 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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi + |