aboutsummaryrefslogtreecommitdiff
path: root/audio/musicmanager/doinst.sh
diff options
context:
space:
mode:
authorKeith Richie <disturbed1976@gmail.com>2010-05-12 17:37:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:15 +0200
commit0a46c9345ab68d4b0a2afd507b1874a7f52cd68c (patch)
tree2065a06c0bf27ebf889bd63b7775100296235a80 /audio/musicmanager/doinst.sh
parent3e16f90f6d48f927e7c1c750b751da2dea9dd432 (diff)
audio/musicmanager: Updated for version 0.10.0
Diffstat (limited to 'audio/musicmanager/doinst.sh')
-rw-r--r--audio/musicmanager/doinst.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/musicmanager/doinst.sh b/audio/musicmanager/doinst.sh
index 158d743911fc3..1f8ff67dedb29 100644
--- a/audio/musicmanager/doinst.sh
+++ b/audio/musicmanager/doinst.sh
@@ -1,8 +1,10 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/gtk-update-icon-cache ] \
- && [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi
+