aboutsummaryrefslogtreecommitdiff
path: root/network/mldonkey/doinst.sh
diff options
context:
space:
mode:
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
-)