1 |
On Wednesday 13 June 2012 15:11:19 Ian Stakenvicius wrote: |
2 |
> On 13/06/12 03:04 PM, Mike Frysinger wrote: |
3 |
> > we have egetshell and egethome already. thus it's fairly easy to |
4 |
> > detect the transition case. if they installed the older version |
5 |
> > which set values that you now want to change: if has_version |
6 |
> > '<foo/pkg-3' && [[ $(egetshell user) == "/bad/shell" ]] ; then |
7 |
> > esetshell user /good/shell fi if has_version '<foo/pkg-3' && [[ |
8 |
> > $(egethome user) == "/old/home" ]] ; then esethome user /new/home |
9 |
> > fi |
10 |
> |
11 |
> This makes sense to me. Until I can think of a nice way to detect a |
12 |
> change from the default settings set by a previous enewuser call, it |
13 |
> is probably best to require each ebuild to do the above based on their |
14 |
> specific need. |
15 |
> |
16 |
> Patch/RFC rescinded. |
17 |
|
18 |
eset{home,shell} don't exist today, so you should implement them :) |
19 |
-mike |