summaryrefslogtreecommitdiff
path: root/office/basket/doinst.sh
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-06-04 07:46:37 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-06 07:56:37 +0700
commit0453bb6d8c8780865b58e8f6e6ea4f958bf7509f (patch)
tree6a4cb0c27d8124cdd6249193fd0c0266eba02980 /office/basket/doinst.sh
parent537223a817b5646c39618bb99220b5a13d6d1010 (diff)
downloadslackbuilds-0453bb6d8c8780865b58e8f6e6ea4f958bf7509f.tar.gz
office/basket: Added doinst.sh.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'office/basket/doinst.sh')
-rw-r--r--office/basket/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/basket/doinst.sh b/office/basket/doinst.sh
new file mode 100644
index 0000000000..19ad22754d
--- /dev/null
+++ b/office/basket/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi