diff options
author | B. Watson <yalhcru@gmail.com> | 2020-10-27 23:32:07 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-10-31 11:15:41 +0700 |
commit | 48e2ee64ef9048be83934955317f396fd2e7e575 (patch) | |
tree | 7295fbe85b1b8013fed5a51bdc3133bdb71411d4 /games/qzdoom/doinst.sh | |
parent | 4f32a3c5b2d9983fa8cc790d2814e92ff7081af3 (diff) | |
download | slackbuilds-48e2ee64ef9048be83934955317f396fd2e7e575.tar.gz slackbuilds-48e2ee64ef9048be83934955317f396fd2e7e575.tar.xz |
games/qzdoom: Build enhancements.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/qzdoom/doinst.sh')
-rw-r--r-- | games/qzdoom/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/qzdoom/doinst.sh b/games/qzdoom/doinst.sh index 5fb28930db..3e5691a052 100644 --- a/games/qzdoom/doinst.sh +++ b/games/qzdoom/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 |