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.9 2002/06/04 09:21:59 blocke Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.10 2002/06/04 10:10:03 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 | |
… | |
… | |
49 | # we must delay gconf schema installation due to sandbox |
49 | # we must delay gconf schema installation due to sandbox |
50 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
50 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
51 | |
51 | |
52 | einstall " scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}" |
52 | einstall " scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/ ${1}" |
53 | |
53 | |
|
|
54 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
|
55 | |
54 | # manual document installation |
56 | # manual document installation |
55 | if [ -n "${DOCS}" ] |
57 | if [ -n "${DOCS}" ] |
56 | then |
58 | then |
57 | dodoc ${DOCS} |
59 | dodoc ${DOCS} |
58 | fi |
60 | fi |
59 | |
61 | |
60 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
|
61 | |
|
|
62 | # only update scrollkeeper if this package needs it |
62 | # only update scrollkeeper if this package needs it |
63 | [ -a ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" |
63 | [ -d ${D}/var/lib/scrollkeeper ] && SCROLLKEEPER_UPDATE="1" |
64 | |
64 | |
65 | } |
65 | } |
66 | |
66 | |
67 | gnome2_pkg_postinst() { |
67 | gnome2_pkg_postinst() { |
68 | |
68 | |