aboutsummaryrefslogtreecommitdiff
path: root/development/kforth/doinst.sh
diff options
context:
space:
mode:
authorAntonio Leal <antonio.leal@yahoo.com>2023-12-01 08:30:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-01 09:45:15 +0700
commite3bf01d80335deb5cc8fff5b8d20a00ef7c52e11 (patch)
tree9a441dc8173df0337fb78c38307d1d401f327262 /development/kforth/doinst.sh
parent5da56c5b38e376576f0e4f6ffe0b671c81fb2115 (diff)
development/kforth: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kforth/doinst.sh')
-rw-r--r--development/kforth/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/kforth/doinst.sh b/development/kforth/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/development/kforth/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+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