diff options
author | Peter Volkov <pva@gentoo.org> | 2008-05-06 08:11:45 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2008-05-06 08:11:45 +0000 |
commit | 3515500f5148ccc6763cd4aa8b209129c86aff6c (patch) | |
tree | bb1550fec84c6c072e8ac8863ade9dd002fc76e1 /eclass/fdo-mime.eclass | |
parent | Version bumpg (bug #220203). Dropped old version. (diff) | |
download | gentoo-2-3515500f5148ccc6763cd4aa8b209129c86aff6c.tar.gz gentoo-2-3515500f5148ccc6763cd4aa8b209129c86aff6c.tar.bz2 gentoo-2-3515500f5148ccc6763cd4aa8b209129c86aff6c.zip |
make fdo-mime.eclass ready for eclass-manpages, bug #211223, thank mren for report. foser retired moved maintaining to freedesktop-bugs.
Diffstat (limited to 'eclass/fdo-mime.eclass')
-rw-r--r-- | eclass/fdo-mime.eclass | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass index 925586964f19..fd5791fe6ecf 100644 --- a/eclass/fdo-mime.eclass +++ b/eclass/fdo-mime.eclass @@ -1,36 +1,35 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.6 2008/02/10 14:47:14 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.7 2008/05/06 08:11:45 pva Exp $ -# Author: -# foser <foser@gentoo.org> +# @ECLASS: fdo-mime.eclass +# @MAINTAINER: freedesktop-bugs@gentoo.org +# +# +# Original author: foser <foser@gentoo.org> +# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations -# utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations -# <references here> - -# Updates the desktop database +# @FUNCTION: fdo-mime_desktop_database_update +# @DESCRIPTION: +# Updates the desktop database. # Generates a list of mimetypes linked to applications that can handle them - fdo-mime_desktop_database_update() { - if [ -x "${ROOT}/usr/bin/update-desktop-database" ] then einfo "Updating desktop mime database ..." "${ROOT}/usr/bin/update-desktop-database" -q "${ROOT}/usr/share/applications" fi - } -# Update the mime database +# @FUNCTION: fdo-mime_mime_database_update +# @DESCRIPTION: +# Update the mime database. # Creates a general list of mime types from several sources - fdo-mime_mime_database_update() { - if [ -x "${ROOT}/usr/bin/update-mime-database" ] then einfo "Updating shared mime info database ..." "${ROOT}/usr/bin/update-mime-database" "${ROOT}/usr/share/mime" fi - } |