summaryrefslogtreecommitdiff
path: root/multimedia/gtick/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-05-26 11:31:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:37 +0700
commit15e0b8bd38b998cf4c8b0d6361c0454a8345ef7c (patch)
tree5b2770cb2bee9c62609cc86a9891fe91ac7fca8c /multimedia/gtick/doinst.sh
parent759fbb054cce9f2eeb048e3b81fc4a4848490c11 (diff)
downloadslackbuilds-15e0b8bd38b998cf4c8b0d6361c0454a8345ef7c.tar.gz
multimedia/gtick: Added (A Metronome Application for GNU Linux).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/gtick/doinst.sh')
-rw-r--r--multimedia/gtick/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/gtick/doinst.sh b/multimedia/gtick/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/multimedia/gtick/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