summaryrefslogtreecommitdiff
path: root/games/peg-e/doinst.sh
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-06-25 22:14:06 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-06-25 22:14:06 -0400
commit20ef829ee08325155f1d8a92a57569a01ba1d2d0 (patch)
treebc6564665fcbea1b166f512e7cf292fec36fc0e1 /games/peg-e/doinst.sh
parent007066bebc1e7101df4dc2cf2fc2f4907448fe8a (diff)
downloadslackbuilds-20ef829ee08325155f1d8a92a57569a01ba1d2d0.tar.gz
games/peg-e: Added (peg solitaire game)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/peg-e/doinst.sh')
-rw-r--r--games/peg-e/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/peg-e/doinst.sh b/games/peg-e/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/peg-e/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