aboutsummaryrefslogtreecommitdiff
path: root/audio/qjackctl/doinst.sh
diff options
context:
space:
mode:
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