aboutsummaryrefslogtreecommitdiff
path: root/audio/qjackctl/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 20:53:45 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:37 -0500
commit7db9400097496f55202a8c8202d25990aede2cf3 (patch)
tree545616c4959f6390ac6a3198b5c52b3afa2ec103 /audio/qjackctl/doinst.sh
parentef9971fac93615e6ec1c70a4719f7ef7e16539fe (diff)
audio/qjackctl: Fixed (Compress man pages and handle icons)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/qjackctl/doinst.sh')
-rw-r--r--audio/qjackctl/doinst.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/qjackctl/doinst.sh b/audio/qjackctl/doinst.sh
index 3857649f506a8..3e5691a052b5b 100644
--- a/audio/qjackctl/doinst.sh
+++ b/audio/qjackctl/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications &> /dev/null
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+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