Magellan Linux

Contents of /mage/branches/alx07x-unstable/include/fdo-mime.minc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7861 - (show annotations) (download)
Wed Nov 18 09:35:23 2015 UTC (8 years, 5 months ago) by niro
File size: 466 byte(s)
-release alx070x-unstable
1 # $Id$
2
3 fdo-mime_update_desktop_db()
4 {
5 # update desktop db
6 if [ -x ${MROOT}/usr/bin/update-desktop-database ]
7 then
8 echo "Updating desktop mime database ..."
9 ${MROOT}/usr/bin/update-desktop-database -q ${MROOT}/usr/share/applications
10 fi
11 }
12
13 fdo-mime_update_mime_db()
14 {
15 # update mime db
16 if [ -x ${MROOT}/usr/bin/update-mime-database ]
17 then
18 echo "Updating shared mime info database ..."
19 ${MROOT}/usr/bin/update-mime-database ${MROOT}/usr/share/mime
20 fi
21 }