I have fixed it, try the *cups*-1.1.10-12mdk* packages from the Cooker.
Till
Pierre Fortin wrote:
> Fabrice FACORAT wrote:
>
> [snip]
>
>>>># Is there a correct "localhost" line?
>>>>if !(/bin/egrep
>"^127\.0\.0\.1[[:space:]]+localhost\.localdomain[[:space:]]+localhost$" /etc/hosts >
>/dev/null 2>&1); then
>>>>
> [snip]
>
>
>>Besides the fact that CUPS should not modify /etc/hosts in a so harder
>>way, could you try this line ?
>>
>>127.0.0.1 localhost.localdomain localhost mountains
>>mountains.bellsouth.net
>>
>>i.e put the name at the end. If you look at the script you see that it
>>looked for 127.0.0.1[space]localhost.localdomain[space]localhost
>>
>
> The test is:
> if !(/bin/egrep "^127.....localhost$"
> ^ ^
> If your suggestion worked, we'd have a bash bug...
>
> "^" = start of line; "$" = end of line
>
> Hence, unless the line is EXACTLY "127.0.0.1 localhost.localdomain localhost",
> the file gets clobbered...
>
> :^Pierre
>
>