[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Thanks for a smooth 2.6 to 2.8 transistion



On Wed, 2004-12-15 at 22:42, Marcelo E. Magallon wrote:
> On Wed, Dec 15, 2004 at 12:36:42PM -0500, Adam C Powell IV wrote:
>  > On Wed, 2004-12-15 at 07:28, Sven Luther wrote:
>  > > On Wed, Dec 15, 2004 at 05:59:13AM -0600, Marcelo E. Magallon wrote:
>  > > > On Wed, Dec 15, 2004 at 10:46:50AM +0100, Sven Luther wrote:
>  > > > 
>  > > >  > Bah, perl is the ugliest language ever invented ...
>  > > > 
>  > > >  Write it in assembler for all I care.  But have it do the right thing.
>  > > 
>  > > Point taken.
>  > > 
>  > > It would be easier if the adduser package would include a little script or
>  > > something to handle that.
>  > 
>  > Indeed.  That's bug #147518, more than two and a half years old!
>  > 
>  > A patch to do something like this in postinst is in that bug, but I
>  > didn't (and still don't) know enough perl to make one crucial line work.
> 
>  I'm not sure what you mean, but if it's about this:
> 
>  while (defined($thisgroup = shift($config{new_user_groups}))) {
> 
>  you write that as:
> 
>  foreach my $thisgroup (split /\s+/, $config{"new_user_groups"}) {

Excellent!  Yes, that's it.  I'll give this a try when I get a chance,
and update the bug as appropriate.

Thank you much,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg



Reply to: