summaryrefslogtreecommitdiff
path: root/desktop/xfce4-wavelan-plugin/doinst.sh
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-06-16 22:41:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-16 22:41:54 +0700
commitad3c472df56fb181a22ad6059adfc0a0c5034598 (patch)
treee76ce4863142807df3fea87a6031b5f25c99b384 /desktop/xfce4-wavelan-plugin/doinst.sh
parent65ef658c49b9f4b337919170f6b49b8bc47312e1 (diff)
downloadslackbuilds-ad3c472df56fb181a22ad6059adfc0a0c5034598.tar.gz
desktop/xfce4-wavelan-plugin: Added (WLAN Panel Plugin).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-wavelan-plugin/doinst.sh')
-rw-r--r--desktop/xfce4-wavelan-plugin/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/xfce4-wavelan-plugin/doinst.sh b/desktop/xfce4-wavelan-plugin/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/desktop/xfce4-wavelan-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