diff options
author | B. Watson <urchlay@slackware.uk> | 2023-06-20 17:10:22 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-06-23 07:48:07 +0700 |
commit | ee9c8a07dbae5a6c46ecb55246422bbbbc4da67d (patch) | |
tree | be6270df98a128516393bae307b2a699720f82f9 /graphics | |
parent | 7ec6f7d04eda938ae8e0645220ee9795d8baf8c9 (diff) |
graphics/blockbench: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/blockbench/doinst.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/blockbench/doinst.sh b/graphics/blockbench/doinst.sh index ea6e67c7b9116..9169c83208a86 100644 --- a/graphics/blockbench/doinst.sh +++ b/graphics/blockbench/doinst.sh @@ -6,6 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi -if [ -x /usr/bin/gtk-update-icon-cache ]; then +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 -f usr/share/icons/hicolor >/dev/null 2>&1 + fi fi |