summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/doinst.sh
diff options
context:
space:
mode:
authorAndrew Tkalia <anddt@yandex.ru>2013-06-16 12:47:40 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-16 12:47:40 -0300
commit26fa7b0b195004785eb1b1e96f6912db44911c6d (patch)
tree650219230edb14a00f9c265e39586d81bdc623dd /games/rocksndiamonds/doinst.sh
parent36281c3d7b69867e467107df6f0e021610f08237 (diff)
downloadslackbuilds-26fa7b0b195004785eb1b1e96f6912db44911c6d.tar.gz
games/rocksndiamonds: Added (boulder dash-like arcade games)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/rocksndiamonds/doinst.sh')
-rw-r--r--games/rocksndiamonds/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/rocksndiamonds/doinst.sh b/games/rocksndiamonds/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/rocksndiamonds/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