diff options
Diffstat (limited to 'audio/rosegarden/doinst.sh')
-rw-r--r-- | audio/rosegarden/doinst.sh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/audio/rosegarden/doinst.sh b/audio/rosegarden/doinst.sh index 6225a2b4a4..6321aafd8b 100644 --- a/audio/rosegarden/doinst.sh +++ b/audio/rosegarden/doinst.sh @@ -1,11 +1,8 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications 2>/dev/null +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 -) +if [ -x /usr/bin/update-mime-database ]; then + /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 +fi |