aboutsummaryrefslogtreecommitdiff
path: root/games/gltron/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/gltron/doinst.sh')
-rw-r--r--games/gltron/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/gltron/doinst.sh b/games/gltron/doinst.sh
new file mode 100644
index 0000000000..94b64446ba
--- /dev/null
+++ b/games/gltron/doinst.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# I borrowed the .desktop file from Debian's repo, might as well
+# install it for convenience's sake
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications > /dev/null 2>&1
+fi