diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-12 03:43:44 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:46 +0700 |
commit | 30bcea97fcf0f7a1857f55ea3c256abf510c390e (patch) | |
tree | 01dc5ac8ff164b2610cf6e24d70b011ba3310129 /games/xu4/doinst.sh | |
parent | 650bc309dc9066a03a4e7c7d84ab470d76cd0aab (diff) | |
download | slackbuilds-30bcea97fcf0f7a1857f55ea3c256abf510c390e.tar.gz slackbuilds-30bcea97fcf0f7a1857f55ea3c256abf510c390e.tar.xz |
games/xu4: New-style icons, disable alt-x.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xu4/doinst.sh')
-rw-r--r-- | games/xu4/doinst.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xu4/doinst.sh b/games/xu4/doinst.sh index 5fb28930db..3e5691a052 100644 --- a/games/xu4/doinst.sh +++ b/games/xu4/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 |