1 |
On Fri, 2008-01-18 at 06:41 -0500, Mike Frysinger wrote: |
2 |
> right, there is no way (by design) to force these settings on an already |
3 |
> created user. if the old path really truly should not be the old value, you |
4 |
> can do something like this in pkg_setup: |
5 |
> if [[ $(egetent passwd user | cut -d: -f6) == "/the/old/path" ]] ; then |
6 |
> eerror "please run usermod -m -d /new/path ......" |
7 |
> die "moocow" |
8 |
> fi |
9 |
|
10 |
You should also ensure that ${ROOT} is / |
11 |
|
12 |
Thanks |
13 |
|
14 |
Roy |
15 |
|
16 |
-- |
17 |
gentoo-dev@l.g.o mailing list |