aboutsummaryrefslogtreecommitdiff
path: root/games/nxengine-evo/doinst.sh
diff options
context:
space:
mode:
authorSteven Voges <svoges.sbo@gmail.com>2022-11-12 12:01:00 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-12 22:33:03 +0700
commitedfc94d557f146d92159e1fb4fced411f7455dd0 (patch)
tree7874aa175a61dd94fa27a40bc15ddb07ab1d616e /games/nxengine-evo/doinst.sh
parent0077ab5beba9df621cd1361b9f247ceeb855d6da (diff)
games/nxengine-evo: Added (Refactored NXEngine)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nxengine-evo/doinst.sh')
-rw-r--r--games/nxengine-evo/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/nxengine-evo/doinst.sh b/games/nxengine-evo/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/games/nxengine-evo/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