summaryrefslogtreecommitdiff
path: root/network/tor-browser/doinst.sh
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-13 22:50:26 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-15 08:30:38 +0700
commitd451a16241d3dfcc8230e1b2e421c31aaf3d06df (patch)
treee1b8d4d287c0f380ee063ed7aef6c4480415a1ea /network/tor-browser/doinst.sh
parent22174076591e196810501befcb082e07d3b76c3f (diff)
downloadslackbuilds-d451a16241d3dfcc8230e1b2e421c31aaf3d06df.tar.gz
network/tor-browser: Added (tor-based browser)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/tor-browser/doinst.sh')
-rw-r--r--network/tor-browser/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/network/tor-browser/doinst.sh b/network/tor-browser/doinst.sh
new file mode 100644
index 0000000000..9a8ded3c60
--- /dev/null
+++ b/network/tor-browser/doinst.sh
@@ -0,0 +1,7 @@
+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