summaryrefslogtreecommitdiff
path: root/games/nSnake/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-20 22:14:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:52 +0700
commite5aac2a1fc4bec8a4c7ed511c73288765e4a3c86 (patch)
treee5ba2e1ea67b7b4a68d1f792be32e6688195a39f /games/nSnake/doinst.sh
parent72fd212d6e23748de03ee608fa27aa3655d4e344 (diff)
downloadslackbuilds-e5aac2a1fc4bec8a4c7ed511c73288765e4a3c86.tar.gz
games/nSnake: Added (snake game on the console).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nSnake/doinst.sh')
-rw-r--r--games/nSnake/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/nSnake/doinst.sh b/games/nSnake/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/games/nSnake/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi