diff options
Diffstat (limited to 'games/neverball/doinst.sh')
-rw-r--r-- | games/neverball/doinst.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/neverball/doinst.sh b/games/neverball/doinst.sh index 854e20633d669..5525db8a53826 100644 --- a/games/neverball/doinst.sh +++ b/games/neverball/doinst.sh @@ -1,3 +1,9 @@ -if [ -x /usr/bin/update-desktop-database ]; then - ./usr/bin/update-desktop-database -q usr/share/applications +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q usr/share/applications +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 |