summaryrefslogtreecommitdiff
path: root/graphics/djview4/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/djview4/doinst.sh')
-rw-r--r--graphics/djview4/doinst.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/djview4/doinst.sh b/graphics/djview4/doinst.sh
index 3c3180c7ba..9a8ded3c60 100644
--- a/graphics/djview4/doinst.sh
+++ b/graphics/djview4/doinst.sh
@@ -1,4 +1,7 @@
-if [ -x /usr/share/djvu/djview4/desktop/register-djview-menu ]; then
- /usr/share/djvu/djview4/desktop/register-djview-menu install
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/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