summaryrefslogtreecommitdiff
path: root/desktop/xfce4-datetime-plugin/doinst.sh
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:23:39 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:23:39 +0200
commitb8bb2476e6faf3e1b896729679bb8a515990ec76 (patch)
treefde18b2876309e51a215a6fdab3c084a24341d3d /desktop/xfce4-datetime-plugin/doinst.sh
parentb28fef57edbd2973fbccba77477595511b5f2d74 (diff)
downloadslackbuilds-b8bb2476e6faf3e1b896729679bb8a515990ec76.tar.gz
desktop/xfce4-datetime-plugin: Updated for version 0.6.1
Diffstat (limited to 'desktop/xfce4-datetime-plugin/doinst.sh')
-rw-r--r--desktop/xfce4-datetime-plugin/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/xfce4-datetime-plugin/doinst.sh b/desktop/xfce4-datetime-plugin/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/desktop/xfce4-datetime-plugin/doinst.sh
@@ -0,0 +1,10 @@
+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
+