| 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-utils.eclass,v 1.5 2007/05/11 20:52:53 dang Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.6 2007/06/14 20:46:18 dang Exp $ |
| 4 | |
4 | |
| 5 | # |
5 | # |
| 6 | # gnome2-utils.eclass |
6 | # gnome2-utils.eclass |
| 7 | # |
7 | # |
| 8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
| … | |
… | |
| 50 | ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null |
50 | ${GCONFTOOL_BIN} --makefile-install-rule ${F} 1>/dev/null |
| 51 | fi |
51 | fi |
| 52 | done |
52 | done |
| 53 | |
53 | |
| 54 | # have gconf reload the new schemas |
54 | # have gconf reload the new schemas |
| 55 | pids=$(pidof gconfd-2) |
55 | pids=$(pgrep -x gconfd-2) |
| 56 | if [[ $? == 0 ]] ; then |
56 | if [[ $? == 0 ]] ; then |
| 57 | ebegin "Reloading GConf schemas" |
57 | ebegin "Reloading GConf schemas" |
| 58 | kill -HUP ${pids} |
58 | kill -HUP ${pids} |
| 59 | eend $? |
59 | eend $? |
| 60 | fi |
60 | fi |