| 1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2002 Gentoo Technologies, Inc. |
| 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.11 2002/06/11 21:27:15 spider Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.12 2002/06/12 00:05:40 spider Exp $ |
| 4 | |
4 | |
| 5 | inherit libtool |
5 | inherit libtool |
| 6 | inherit debug |
6 | inherit debug |
| 7 | # Authors: |
7 | # Authors: |
| 8 | # Bruce A. Locke <blocke@shivan.org> |
8 | # Bruce A. Locke <blocke@shivan.org> |
| … | |
… | |
| 55 | # schema installation |
55 | # schema installation |
| 56 | if [ -n "${SCHEMAS}" ] |
56 | if [ -n "${SCHEMAS}" ] |
| 57 | then |
57 | then |
| 58 | |
58 | |
| 59 | # install/update schemas the hard way |
59 | # install/update schemas the hard way |
| 60 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
60 | export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` |
| 61 | |
|
|
| 62 | echo ">>> Updating GConf2 Schemas for ${P}" |
61 | echo ">>> Updating GConf2 Schemas for ${P}" |
| 63 | for x in $SCHEMAS |
62 | for x in $SCHEMAS |
| 64 | do |
63 | do |
| 65 | /usr/bin/gconftool-2 --makefile-install-rule \ |
64 | /usr/bin/gconftool-2 --makefile-install-rule \ |
| 66 | /etc/gconf/schemas/${x} |
65 | /etc/gconf/schemas/${x} |