aboutsummaryrefslogtreecommitdiff
path: root/games/simsu/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-07-22 20:53:57 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit25c67f495a0266da578d43f1b3ed64166b96bf38 (patch)
tree0446444fa0bde0661d6c65bb33315bad85dbe757 /games/simsu/doinst.sh
parent95e9c5789ed9200eaaa7d694dca39794db2813d0 (diff)
games/simsu: Added (A basic Sudoku game)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/simsu/doinst.sh')
-rw-r--r--games/simsu/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/simsu/doinst.sh b/games/simsu/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/simsu/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