aboutsummaryrefslogtreecommitdiff
path: root/network/element-desktop/doinst.sh
diff options
context:
space:
mode:
authormarav <marav8@free.fr>2022-05-07 04:31:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-07 13:59:36 +0700
commit0d8a8dcf898a2f9840bdaa641705024d36157d49 (patch)
treea7eb9176e269da6b3fffdbe907fdb385ba02c416 /network/element-desktop/doinst.sh
parent0f35cd643b8c23a51d2248fe1b656d44e94847fc (diff)
network/element-desktop: Updated for version 1.10.11.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/element-desktop/doinst.sh')
-rw-r--r--network/element-desktop/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/element-desktop/doinst.sh b/network/element-desktop/doinst.sh
index 5fb28930db0b..0fa754f75eb7 100644
--- a/network/element-desktop/doinst.sh
+++ b/network/element-desktop/doinst.sh
@@ -1,3 +1,11 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+# If other icon themes are installed, then add to/modify this as needed
+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
+