summaryrefslogtreecommitdiff
path: root/games/assaultcube-reloaded/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-03-01 02:28:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-01 02:28:50 +0700
commit0e73f2a4365e648812ca0df2b6dd25fed56c80bc (patch)
tree5cba57c8b37549d4ae8d034093f74cde1a200d0a /games/assaultcube-reloaded/doinst.sh
parent6b49f9d6673299a501ac89c6e3d801e4e5fa1e60 (diff)
downloadslackbuilds-0e73f2a4365e648812ca0df2b6dd25fed56c80bc.tar.gz
games/assaultcube-reloaded: Added (First person shooter game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/assaultcube-reloaded/doinst.sh')
-rw-r--r--games/assaultcube-reloaded/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/assaultcube-reloaded/doinst.sh b/games/assaultcube-reloaded/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/assaultcube-reloaded/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