diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-20 16:31:20 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-29 17:07:20 +0700 |
commit | 9c060af33789d7d7a204d94b4377515b9bccee18 (patch) | |
tree | 42f1772cc4a774a4c0ba64aa4b8ff9d51b35d7f7 /games/oblige/doinst.sh | |
parent | c11a44608267a4df27b7721533c42102d2ee953b (diff) |
games/oblige: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/oblige/doinst.sh')
-rw-r--r-- | games/oblige/doinst.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/oblige/doinst.sh b/games/oblige/doinst.sh index 4e8ba7071dea7..3e5691a052b5b 100644 --- a/games/oblige/doinst.sh +++ b/games/oblige/doinst.sh @@ -2,3 +2,8 @@ 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 |