aboutsummaryrefslogtreecommitdiff
path: root/system/dosbox-x/doinst.sh
diff options
context:
space:
mode:
authorLeo C <leoc@gmx.com>2021-02-20 18:52:58 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:18:58 -0500
commit8c3e6f9645ff5e27ffed1e58d0b45c633103926e (patch)
tree6550d5c450c03e73e33f4bee85bb6fd3379b8360 /system/dosbox-x/doinst.sh
parent36284f44893c3a9b1ba081d2e75da06b34a18155 (diff)
system/dosbox-x: Updated for version 0.83.8.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/dosbox-x/doinst.sh')
-rw-r--r--system/dosbox-x/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/dosbox-x/doinst.sh b/system/dosbox-x/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/system/dosbox-x/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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