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 | 4492f378393697a51357a3d4590fe38faf8c8e62 (patch) | |
tree | 5eaf51b0777496d8b122fb43bec00e6986394192 /eclass | |
parent | Version bumpg (bug #220203). Dropped old version. (diff) | |
download | historical-4492f378393697a51357a3d4590fe38faf8c8e62.tar.gz historical-4492f378393697a51357a3d4590fe38faf8c8e62.tar.bz2 historical-4492f378393697a51357a3d4590fe38faf8c8e62.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')
-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 - } |