diff options
author | Peter Weller <welp@gentoo.org> | 2007-01-25 19:32:16 +0000 |
---|---|---|
committer | Peter Weller <welp@gentoo.org> | 2007-01-25 19:32:16 +0000 |
commit | 70ee65efbadfb00e73a0f90ed0855cc51297874c (patch) | |
tree | 7c1c010c2dcdb9aac839d2c8be1e30456c72a6de /eclass | |
parent | fixed deps, removing usage of gnome2-utils, cleanup (diff) | |
download | gentoo-2-70ee65efbadfb00e73a0f90ed0855cc51297874c.tar.gz gentoo-2-70ee65efbadfb00e73a0f90ed0855cc51297874c.tar.bz2 gentoo-2-70ee65efbadfb00e73a0f90ed0855cc51297874c.zip |
adding usage of fdo-mime and gnome2-utils eclass for pkg_postinst and pkg_postrm
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfce44.eclass | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/eclass/xfce44.eclass b/eclass/xfce44.eclass index 0234b17a939c..ffdb61cda60a 100644 --- a/eclass/xfce44.eclass +++ b/eclass/xfce44.eclass @@ -1,11 +1,13 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.12 2007/01/22 01:04:50 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfce44.eclass,v 1.13 2007/01/25 19:32:16 welp Exp $ # Xfce44 Eclass # # Eclass to simplify Xfce4 package installation +inherit fdo-mime gnome2-utils + ## set some variable values: ## COMPRESS is the default compression extension ## INSTALL is default make install directive @@ -127,4 +129,16 @@ xfce44_src_install() { ${INSTALL} || die } -EXPORT_FUNCTIONS src_compile src_install +xfce44_pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +xfce44_pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +EXPORT_FUNCTIONS src_compile src_install pkg_postinst pkg_postrm |