diff options
Diffstat (limited to 'network/mldonkey/doinst.sh')
-rw-r--r-- | network/mldonkey/doinst.sh | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/network/mldonkey/doinst.sh b/network/mldonkey/doinst.sh index 720a11ee90..4e8ba7071d 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 -) |