summaryrefslogtreecommitdiffstats
path: root/desktop/xfce4-kbdleds-plugin/doinst.sh
diff options
context:
space:
mode:
author Fridrich von Stauffenberg2014-08-05 17:00:41 +0200
committer Willy Sudiarto Raharjo2014-08-05 17:00:41 +0200
commitc1df270e0fa9d4e78b403b4161bcf041bece3610 (patch)
tree5c0cf992b286315fefda1eab10a9c0b3241f5e09 /desktop/xfce4-kbdleds-plugin/doinst.sh
parentbb380fcdc0da4ed16fbc1f39e01f0e15135c0fd4 (diff)
downloadslackbuilds-c1df270e0fa9d4e78b403b4161bcf041bece3610.tar.gz
desktop/xfce4-kbdleds-plugin: Added (keyboard LEDs plugin for Xfce).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-kbdleds-plugin/doinst.sh')
-rw-r--r--desktop/xfce4-kbdleds-plugin/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/xfce4-kbdleds-plugin/doinst.sh b/desktop/xfce4-kbdleds-plugin/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/desktop/xfce4-kbdleds-plugin/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