diff options
Diffstat (limited to 'network/element-desktop/doinst.sh')
-rw-r--r-- | network/element-desktop/doinst.sh | 8 |
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 + |