diff options
author | B. Watson <yalhcru@gmail.com> | 2021-12-28 15:36:10 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-04 07:55:38 +0700 |
commit | 0e2d8adf7df55b4f99bc816be6516639b5402d91 (patch) | |
tree | aaaeae8cf2fbb029230043ca2b988750980427ef /games/cosmic_assault/doinst.sh | |
parent | 21a28ca3db27f3d69e5c120009193b212b22c7a5 (diff) |
games/cosmic_assault: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/cosmic_assault/doinst.sh')
-rw-r--r-- | games/cosmic_assault/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/cosmic_assault/doinst.sh b/games/cosmic_assault/doinst.sh index 5fb28930db0b9..3e5691a052b5b 100644 --- a/games/cosmic_assault/doinst.sh +++ b/games/cosmic_assault/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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |