summaryrefslogtreecommitdiff
path: root/network/icecat/doinst.sh
diff options
context:
space:
mode:
authormelikamp <melikamp@melikamp.net>2015-07-12 09:08:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-12 09:08:06 +0700
commit8e2c597d3d850072291437d06eb235616a105186 (patch)
tree0fd9eec3531f83d5f67e7654bb17d9e3d9682fdb /network/icecat/doinst.sh
parent6c355d8a976134b3b083a804356757321512d642 (diff)
downloadslackbuilds-8e2c597d3d850072291437d06eb235616a105186.tar.gz
network/icecat: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/icecat/doinst.sh')
-rw-r--r--network/icecat/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/icecat/doinst.sh b/network/icecat/doinst.sh
new file mode 100644
index 0000000000..76cc38a548
--- /dev/null
+++ b/network/icecat/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database 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