diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2014-08-05 22:00:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-05 22:00:41 +0700 |
commit | c1df270e0fa9d4e78b403b4161bcf041bece3610 (patch) | |
tree | 5c0cf992b286315fefda1eab10a9c0b3241f5e09 /desktop/xfce4-kbdleds-plugin/doinst.sh | |
parent | bb380fcdc0da4ed16fbc1f39e01f0e15135c0fd4 (diff) | |
download | slackbuilds-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.sh | 9 |
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 |