| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.84 2008/03/22 09:37:44 remi Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.85 2008/03/22 10:19:05 remi Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # gnome2.eclass |
6 | # gnome2.eclass |
| 7 | # |
7 | # |
| 8 | # Exports portage base functions used by ebuilds written for packages using the |
8 | # Exports portage base functions used by ebuilds written for packages using the |
| … | |
… | |
| 106 | rm -fr "${D}/usr/share/applications/mimeinfo.cache" |
106 | rm -fr "${D}/usr/share/applications/mimeinfo.cache" |
| 107 | } |
107 | } |
| 108 | |
108 | |
| 109 | gnome2_pkg_preinst() { |
109 | gnome2_pkg_preinst() { |
| 110 | gnome2_gconf_savelist |
110 | gnome2_gconf_savelist |
| 111 | gnome2_icons_savelist |
111 | gnome2_icon_savelist |
| 112 | } |
112 | } |
| 113 | |
113 | |
| 114 | gnome2_pkg_postinst() { |
114 | gnome2_pkg_postinst() { |
| 115 | gnome2_gconf_install |
115 | gnome2_gconf_install |
| 116 | fdo-mime_desktop_database_update |
116 | fdo-mime_desktop_database_update |