aboutsummaryrefslogtreecommitdiff
path: root/network/choqok
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-20 17:14:58 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:08 +0700
commit51e461cbbd5c1f5893af658e778cca6e5f1ef086 (patch)
tree9938e87a1ae8ddca358542d9382f517175b21157 /network/choqok
parent02bf4d719092070173a21839ea078e1de8490d7c (diff)
network/choqok: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/choqok')
-rw-r--r--network/choqok/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/choqok/doinst.sh b/network/choqok/doinst.sh
index eff9ee323e0d..65c7e2eeb9aa 100644
--- a/network/choqok/doinst.sh
+++ b/network/choqok/doinst.sh
@@ -2,6 +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 [ -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