aboutsummaryrefslogtreecommitdiff
path: root/games/mednaffe/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-12-17 08:11:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-17 08:11:03 +0700
commit663c2a90ff95dcccba0385ca5f22dc71db2f1d4a (patch)
treead293c0112d3f16fa5698224efe8c6af998164f1 /games/mednaffe/doinst.sh
parent804cfec1d4133b663a8e64603ae380beaabedb14 (diff)
games/mednaffe: Added (frontend for mednafen).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mednaffe/doinst.sh')
-rw-r--r--games/mednaffe/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/mednaffe/doinst.sh b/games/mednaffe/doinst.sh
new file mode 100644
index 0000000000000..daf1ce3148e3c
--- /dev/null
+++ b/games/mednaffe/doinst.sh
@@ -0,0 +1,10 @@
+
+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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi