aboutsummaryrefslogtreecommitdiff
path: root/development/MinForth/doinst.sh
diff options
context:
space:
mode:
authorAntonio Leal <antonio.leal@yahoo.com>2023-04-09 00:51:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:20 +0700
commit6e2b28a4357d71c8143b0dcbb7fa6dcecf1a4ff4 (patch)
tree33c2fbf56c781e831d84fe9d770897a694a59feb /development/MinForth/doinst.sh
parentc68761e3a7d79196388226f5dae8640d3fdc4261 (diff)
downloadslackbuilds-6e2b28a4357d71c8143b0dcbb7fa6dcecf1a4ff4.tar.xz
development/MinForth: Added (Transpile Forth to C)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/MinForth/doinst.sh')
-rw-r--r--development/MinForth/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/MinForth/doinst.sh b/development/MinForth/doinst.sh
new file mode 100644
index 000000000000..aea0f894eb32
--- /dev/null
+++ b/development/MinForth/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