summaryrefslogtreecommitdiff
path: root/network/freerapid/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-05-29 04:55:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:19 +0700
commitb0ff6382cd60c74652ae1bac1c474d852b76f4cc (patch)
tree08f4816c6e97beab936a1c3f1b058314e7ed3318 /network/freerapid/doinst.sh
parent71d431bc41e76f5ff14953a869b6d48262985e9a (diff)
downloadslackbuilds-b0ff6382cd60c74652ae1bac1c474d852b76f4cc.tar.gz
network/freerapid: Added (Java downloader manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/freerapid/doinst.sh')
-rw-r--r--network/freerapid/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/freerapid/doinst.sh b/network/freerapid/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/network/freerapid/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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