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

Diff of /eclass/gnome2.eclass

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

Revision 1.6 Revision 1.7
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.6 2002/06/04 06:41:01 blocke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.7 2002/06/04 06:46:11 blocke Exp $
4 4
5# Authors: 5# Authors:
6# Bruce A. Locke <blocke@shivan.org> 6# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spidler@gentoo.org> 7# Spidler <spidler@gentoo.org>
8 8
40 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" 40 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
41 41
42 einstall " scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}" 42 einstall " scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}"
43 43
44 # manual document installation 44 # manual document installation
45 if [ -n "${DOC}" ] 45 if [ -n "${DOCS}" ]
46 then 46 then
47 dodoc ${DOC} 47 dodoc ${DOCS}
48 fi 48 fi
49 49
50 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 50 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
51 51
52} 52}
53 53
54gnome2_pkg_postinst() { 54gnome2_pkg_postinst() {
55 55
56 # schema installation 56 # schema installation
57 if [ -n "${SCHEMA}" ] 57 if [ -n "${SCHEMAS}" ]
58 then 58 then
59 59
60 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 60 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
61 61
62 echo ">>> Updating GConf2 Schemas for ${P}" 62 echo ">>> Updating GConf2 Schemas for ${P}"
63 for x in $SCHEMA 63 for x in $SCHEMAS
64 do 64 do
65 /usr/bin/gconftool-2 --makefile-install-rule \ 65 /usr/bin/gconftool-2 --makefile-install-rule \
66 /etc/gconf/schemas/${SCHEMA} 66 /etc/gconf/schemas/${x}
67 done 67 done
68 fi 68 fi
69 69
70 if [ -x /usr/bin/scrollkeeper-update ] 70 if [ -x /usr/bin/scrollkeeper-update ]
71 then 71 then

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20