summaryrefslogtreecommitdiff
path: root/games/eureka/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2015-06-28 02:23:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-28 11:34:44 +0700
commitffa2c9197673177b7391980ea308746d33b3c0ce (patch)
treee7a01a58f906b69711ca193c18c26545536e3872 /games/eureka/doinst.sh
parent4b73edd813103f71a271f982914973ffe3f45cab (diff)
downloadslackbuilds-ffa2c9197673177b7391980ea308746d33b3c0ce.tar.gz
games/eureka: Added (DOOM level editor).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/eureka/doinst.sh')
-rw-r--r--games/eureka/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/eureka/doinst.sh b/games/eureka/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/games/eureka/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