aboutsummaryrefslogtreecommitdiff
path: root/audio/rosegarden/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:37:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:19 +0200
commit31bdc14629d47d7fa5b23e38271119e5e3a5537e (patch)
treefe45f7c219d45bd52a59f718ddaccd73060f7cdc /audio/rosegarden/doinst.sh
parentb99b1a03212725a7ed58104539b5db83029e0d56 (diff)
audio/rosegarden: Updated for version 1.7.3
Diffstat (limited to 'audio/rosegarden/doinst.sh')
-rw-r--r--audio/rosegarden/doinst.sh15
1 files changed, 6 insertions, 9 deletions
diff --git a/audio/rosegarden/doinst.sh b/audio/rosegarden/doinst.sh
index 6225a2b4a4faa..6321aafd8bd21 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