aboutsummaryrefslogtreecommitdiff
path: root/desktop/alltray/doinst.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2014-10-17 07:58:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-17 07:58:06 +0700
commit27cebad5f9f71617f6ac35f10c62a24c854d45f1 (patch)
tree500959b8de713266aaab039a1080640191f2a5ff /desktop/alltray/doinst.sh
parent178a67587a65b55c17918ab8282e1dd3b090da9b (diff)
desktop/alltray: Added (docks applications into system tray).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/alltray/doinst.sh')
-rw-r--r--desktop/alltray/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/alltray/doinst.sh b/desktop/alltray/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/desktop/alltray/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi