aboutsummaryrefslogtreecommitdiff
path: root/games/sameboy/doinst.sh
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2023-09-02 09:47:46 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-02 18:02:27 +0700
commitcadf181e59de77fdf879406fc4fcc98f7f240806 (patch)
tree9110b5de3fb06b1ac9724e5f6c8cf04fd4d98317 /games/sameboy/doinst.sh
parent1fc643a8d1dc24c7976e1f41fac78dfe298468ab (diff)
games/sameboy: Added (emulator).
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/sameboy/doinst.sh')
-rw-r--r--games/sameboy/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/sameboy/doinst.sh b/games/sameboy/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/games/sameboy/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