summaryrefslogtreecommitdiff
path: root/office/treesheets/doinst.sh
diff options
context:
space:
mode:
authorLuke Williams <xocel@iquidus.org>2012-12-19 21:45:48 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-19 21:46:05 +0100
commit8949a7b29193815bff4b128aca0998be6205d41e (patch)
tree5542f56c2f87d5985732f3a67033f0c27dd47a5c /office/treesheets/doinst.sh
parentf033095a877cdda55311e2fbf34bddc55066bc4a (diff)
downloadslackbuilds-8949a7b29193815bff4b128aca0998be6205d41e.tar.gz
office/treesheets: Added (Free Form Data Organization).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/treesheets/doinst.sh')
-rw-r--r--office/treesheets/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/treesheets/doinst.sh b/office/treesheets/doinst.sh
new file mode 100644
index 0000000000..b90d0cbd70
--- /dev/null
+++ b/office/treesheets/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