summaryrefslogtreecommitdiffstats
path: root/audio/ocp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ocp/doinst.sh')
-rw-r--r--audio/ocp/doinst.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/ocp/doinst.sh b/audio/ocp/doinst.sh
index 4a25de5e6f..4c475479c7 100644
--- a/audio/ocp/doinst.sh
+++ b/audio/ocp/doinst.sh
@@ -1,5 +1,5 @@
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+if [ -x /usr/bin/install-info ]; then
+ chroot . /usr/bin/install-info --info-dir=/usr/info /usr/info/ocp.info.gz 2> /dev/null
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
@@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
-