aboutsummaryrefslogtreecommitdiff
path: root/network/freedownloadmanager/doinst.sh
diff options
context:
space:
mode:
authorAndre Fernando <ando344@gmail.com>2020-10-30 01:03:12 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:24 +0700
commite32013de9fcb054c74ceb4eb4a15b6b5bbba4961 (patch)
tree514c9895fdb5e632809590ceaad8d69c7fc24bb7 /network/freedownloadmanager/doinst.sh
parent06b7e958f3f777dbc4168073fbaa70ad0d964916 (diff)
network/freedownloadmanager: Added (Download Accelerator)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/freedownloadmanager/doinst.sh')
-rw-r--r--network/freedownloadmanager/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/freedownloadmanager/doinst.sh b/network/freedownloadmanager/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/network/freedownloadmanager/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi