summaryrefslogtreecommitdiff
path: root/office/CherryTree/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-02 07:27:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-02 07:27:01 +0700
commit480cf321d519e1a09957b6bff42a4aefe34a5097 (patch)
treea606e838d4affc23d35ce612802fd0208e9109b2 /office/CherryTree/doinst.sh
parentd43afec8c9ba5ae6628423072768d595a59307de (diff)
downloadslackbuilds-480cf321d519e1a09957b6bff42a4aefe34a5097.tar.gz
office/CherryTree: Added (hierarchical note taking application).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/CherryTree/doinst.sh')
-rw-r--r--office/CherryTree/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/CherryTree/doinst.sh b/office/CherryTree/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/office/CherryTree/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