summaryrefslogtreecommitdiff
path: root/graphics/picasa/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-11 22:23:17 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:23:17 +0200
commit1512a965e412ff2b39b89bf0d76600538a133b5a (patch)
tree319e61eba28af1fb291fcb267df94ee4f8c61bbd /graphics/picasa/doinst.sh
parent7fab1c6a752ff31bf056b334a2b834735cde4507 (diff)
downloadslackbuilds-1512a965e412ff2b39b89bf0d76600538a133b5a.tar.gz
graphics/picasa: Updated for version 2.7.3736
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 96a48dc52d..de571c45ba 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
+