summaryrefslogtreecommitdiffstats
path: root/games/golly/doinst.sh
diff options
context:
space:
mode:
author Glenn Becker <burningc@sdf.org>2013-01-01 14:11:38 -0500
committer dsomero <xgizzmo@slackbuilds.org>2013-01-01 14:11:38 -0500
commitf0ae50667dce45a3c0b7e034708dd5e4faaf6c7a (patch)
treec7c03d210c4563de43b797f4bef74263fae10cc9 /games/golly/doinst.sh
parentb8c5e7857befdce73a49f35026b813441dcc58dc (diff)
downloadslackbuilds-f0ae50667dce45a3c0b7e034708dd5e4faaf6c7a.tar.gz
slackbuilds-f0ae50667dce45a3c0b7e034708dd5e4faaf6c7a.tar.xz
games/golly: Added (Game of Life simulator)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/golly/doinst.sh')
-rw-r--r--games/golly/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/golly/doinst.sh b/games/golly/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/golly/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi