[Fedora-packaging] Re: Second user/group handling draft

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri May 11 13:09:44 UTC 2007


Thorsten Leemhuis <fedora at leemhuis.info> writes:

>> But maybe the following can make you happy: A script that greps
>> through the CVS and extracts these for you automatically.
>
> If that works: sure. But we should not force sysadmins to download the
> whole cvs and run such a script

Before I see such a script I do not believe that a such one is possible.
E.g. please extract the needed information (username, homedir, gecos)
from:

| %global user foo
| %global home %_var/lib/%name
|
| %post
| useradd -r -d '%home' %user
|
| u='%user'
| prog=/usr/sbin/useradd
| $prog -r \
|   $u



Enrico




More information about the packaging mailing list