blob: ad0f7ff318ae7c651eb698e228ad37c078dff7fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/system-config-base/system-config-base-1.ebuild,v 1.1 2006/09/05 20:49:21 dberkholz Exp $
inherit eutils
DESCRIPTION="system-config-* layout package"
SRC_URI=""
HOMEPAGE="http://www.gentoo.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
RDEPEND="virtual/pam"
S=${WORKDIR}
src_install() {
dopamd ${FILESDIR}/config-util
}
pkg_postinst() {
if [ "$(stat -c%a ${ROOT}etc/default/useradd)" != "644" ] ; then
echo
ewarn
ewarn "Your ${ROOT}etc/default/useradd file must be world-readable"
ewarn " for the system-config-* utilities to work properly."
ewarn " If you did not change them on purpose, consider running:"
ewarn
echo -e "\tchmod 0644 ${ROOT}etc/default/useradd"
echo
fi
}
|