Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5872 - (hide annotations) (download)
Fri Oct 17 08:05:25 2014 UTC (9 years, 6 months ago) by niro
Original Path: mage/trunk/include/fdo-mime.minc
File size: 466 byte(s)
-sync with upstream
1 niro 5872 # $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     }