aboutsummaryrefslogtreecommitdiff
path: root/network/mldonkey/doinst.sh
diff options
context:
space:
mode:
authorGrissiom <chaos.proton@gmail.com>2010-05-12 17:43:48 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:43:48 +0200
commit85e9068e57285c43fcf8d166c56b4926287ecc73 (patch)
tree1d33fce44bda3b2ba666eb5e31459f193a822dfc /network/mldonkey/doinst.sh
parent95f6209c0503d0788519d550681fc69ea13a9d60 (diff)
network/mldonkey: Updated for version 3.0.0
Diffstat (limited to 'network/mldonkey/doinst.sh')
-rw-r--r--network/mldonkey/doinst.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/network/mldonkey/doinst.sh b/network/mldonkey/doinst.sh
index 720a11ee901e6..4e8ba7071dea7 100644
--- a/network/mldonkey/doinst.sh
+++ b/network/mldonkey/doinst.sh
@@ -1,10 +1,4 @@
+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-desktop-database ]; then
- usr/bin/update-desktop-database -q usr/share/applications
- fi
-)
-
-( if [ -x usr/bin/update-mime-database ]; then
- usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
- fi
-)