/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.87 Revision 1.88
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.87 2010/04/26 19:37:25 abcd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.88 2010/12/07 06:18:55 eva 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
119} 119}
120 120
121gnome2_pkg_preinst() { 121gnome2_pkg_preinst() {
122 gnome2_gconf_savelist 122 gnome2_gconf_savelist
123 gnome2_icon_savelist 123 gnome2_icon_savelist
124 gnome2_schemas_savelist
124} 125}
125 126
126gnome2_pkg_postinst() { 127gnome2_pkg_postinst() {
127 gnome2_gconf_install 128 gnome2_gconf_install
128 fdo-mime_desktop_database_update 129 fdo-mime_desktop_database_update
129 fdo-mime_mime_database_update 130 fdo-mime_mime_database_update
130 gnome2_icon_cache_update 131 gnome2_icon_cache_update
132 gnome2_schemas_update
131 133
132 if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then 134 if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then
133 gnome2_scrollkeeper_update 135 gnome2_scrollkeeper_update
134 fi 136 fi
135} 137}
140 142
141gnome2_pkg_postrm() { 143gnome2_pkg_postrm() {
142 fdo-mime_desktop_database_update 144 fdo-mime_desktop_database_update
143 fdo-mime_mime_database_update 145 fdo-mime_mime_database_update
144 gnome2_icon_cache_update 146 gnome2_icon_cache_update
147 gnome2_schemas_update --uninstall
145 148
146 if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then 149 if [[ "${SCROLLKEEPER_UPDATE}" = "1" ]]; then
147 gnome2_scrollkeeper_update 150 gnome2_scrollkeeper_update
148 fi 151 fi
149} 152}

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88

  ViewVC Help
Powered by ViewVC 1.1.20