aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-20 17:13:22 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:07 +0700
commit5990c2eabf9e132a45ca6212a79a1661f9c8aa69 (patch)
tree656ac20291974a6b47ccb40959c9ae9ddc7e05e8 /network
parentcc10388befafe04e362032a382a6612113391f6b (diff)
network/armcord: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/armcord/doinst.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/armcord/doinst.sh b/network/armcord/doinst.sh
index a5962ebc77844..65c7e2eeb9aa5 100644
--- a/network/armcord/doinst.sh
+++ b/network/armcord/doinst.sh
@@ -2,7 +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
-