summaryrefslogtreecommitdiffstats
path: root/office/semantik/doinst.sh
diff options
context:
space:
mode:
author Vijay Marcel <vijaymarcel@outlook.com>2022-08-18 08:31:11 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-20 10:06:41 +0700
commit7fcd52e9a2110f0384025ec5a7253ffd89d66d94 (patch)
treec5aabc236ac848a606160017be75cd56eea12698 /office/semantik/doinst.sh
parent9d262dce78682c5a8c5fdfbcd57a5fbabaf8dbd1 (diff)
downloadslackbuilds-7fcd52e9a2110f0384025ec5a7253ffd89d66d94.tar.gz
slackbuilds-7fcd52e9a2110f0384025ec5a7253ffd89d66d94.tar.xz
office/semantik: Added (Mind Mapping Software)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/semantik/doinst.sh')
-rw-r--r--office/semantik/doinst.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/office/semantik/doinst.sh b/office/semantik/doinst.sh
new file mode 100644
index 0000000000..c820737506
--- /dev/null
+++ b/office/semantik/doinst.sh
@@ -0,0 +1,16 @@
+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
+
+
+
+# Update hicolor theme cache:
+if [ -d usr/share/icons/hicolor ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
+ fi
+fi