aboutsummaryrefslogtreecommitdiff
path: root/graphics/picasa/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/picasa/doinst.sh')
-rw-r--r--graphics/picasa/doinst.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/picasa/doinst.sh b/graphics/picasa/doinst.sh
index 96a48dc52d41c..de571c45ba582 100644
--- a/graphics/picasa/doinst.sh
+++ b/graphics/picasa/doinst.sh
@@ -1,4 +1,9 @@
-# Update the desktop database
-if [ -x usr/bin/update-desktop-database ]; then
- ./usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database ./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
+