summaryrefslogtreecommitdiff
path: root/misc/glogg/doinst.sh
diff options
context:
space:
mode:
authorMiroslaw Turski <miroslaw.turski@gmail.com>2014-05-24 08:29:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-24 08:29:21 +0700
commitefd6e7570a0aa41d77abb19edd8455bce522ab8f (patch)
tree38a0ce4d476057472c0fec1a3d034f7dd71b39e6 /misc/glogg/doinst.sh
parent6400a51647bcfe0341b673a8cbc89c016d3bf148 (diff)
downloadslackbuilds-efd6e7570a0aa41d77abb19edd8455bce522ab8f.tar.gz
misc/glogg: Added (fast, smart log explorer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/glogg/doinst.sh')
-rw-r--r--misc/glogg/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/glogg/doinst.sh b/misc/glogg/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/misc/glogg/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