summaryrefslogtreecommitdiff
path: root/office/keepnote/doinst.sh
diff options
context:
space:
mode:
authormccnews <mccnews@free.fr>2010-05-13 01:00:33 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 01:00:33 +0200
commit9360204e79517a470b9c3e57411b0ef8c5df2d6c (patch)
treedd3daa564cb58a04622b1b9dea1cde58eabbe62e /office/keepnote/doinst.sh
parent441f146c49a0a855825165ed3a4761eb132907bf (diff)
downloadslackbuilds-9360204e79517a470b9c3e57411b0ef8c5df2d6c.tar.gz
office/keepnote: Added to 13.0 repository
Diffstat (limited to 'office/keepnote/doinst.sh')
-rw-r--r--office/keepnote/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/keepnote/doinst.sh b/office/keepnote/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/office/keepnote/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