aboutsummaryrefslogtreecommitdiff
path: root/games/stepmania/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/stepmania/doinst.sh')
-rw-r--r--games/stepmania/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/stepmania/doinst.sh b/games/stepmania/doinst.sh
new file mode 100644
index 0000000000000..e0358ddf8d2c5
--- /dev/null
+++ b/games/stepmania/doinst.sh
@@ -0,0 +1,12 @@
+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
+
+( cd usr/bin ; rm -rf stepmania )
+( cd usr/bin ; ln -sf /usr/share/stepmania-5.1/stepmania stepmania )