| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 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/eutils.eclass,v 1.37 2003/06/28 02:09:57 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.38 2003/06/28 02:50:46 vapier Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is for general purpose functions that most ebuilds |
7 | # This eclass is for general purpose functions that most ebuilds |
| 8 | # have to implement themselves. |
8 | # have to implement themselves. |
| … | |
… | |
| 566 | |
566 | |
| 567 | if [ ! -e ${ehome} ] && [ ! -e ${D}/${ehome} ] ; then |
567 | if [ ! -e ${ehome} ] && [ ! -e ${D}/${ehome} ] ; then |
| 568 | einfo " - Creating ${ehome} in ${D}" |
568 | einfo " - Creating ${ehome} in ${D}" |
| 569 | dodir ${ehome} |
569 | dodir ${ehome} |
| 570 | fowners ${euser} ${ehome} |
570 | fowners ${euser} ${ehome} |
|
|
571 | fperms 755 ${ehome} |
| 571 | fi |
572 | fi |
| 572 | } |
573 | } |
| 573 | |
574 | |
| 574 | # Simplify/standardize adding groups to the system |
575 | # Simplify/standardize adding groups to the system |
| 575 | # vapier@gentoo.org |
576 | # vapier@gentoo.org |