aboutsummaryrefslogtreecommitdiff
path: root/system/B-em/doinst.sh
diff options
context:
space:
mode:
authorAntonio Leal <antonioleal@yahoo.com>2023-06-17 08:00:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 08:00:16 +0700
commitf34ae74e2bfb755329a3a4d2f65108c2c87cc5b2 (patch)
treec23dbb7d52324c867e9783bba1f5071a0908fee4 /system/B-em/doinst.sh
parent35f1032654c95d9af038501a9c665b5caacd3c1a (diff)
system/B-em: Added (BBC Microcomputer Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/B-em/doinst.sh')
-rw-r--r--system/B-em/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/B-em/doinst.sh b/system/B-em/doinst.sh
new file mode 100644
index 000000000000..aea0f894eb32
--- /dev/null
+++ b/system/B-em/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