On Mon, Jan 01, 2007 at 03:56:31PM +0100, Giuseppe Sacco wrote:
> 
> current code is a little different:
> 
>         if invoke-rc.d hylafax stop

yep, seen in 4.3.1-6

>       # ask the user if he want to start hylafax now and warn it about the 
> change in
...
>       elif [ $restart == true ]; then
>               invoke-rc.d hylafax start
>       fi

this contradicts above comment/db_input meaning: if user answer 'no' then
server should _not_ restart, _regardless_ of previous state.

BTW, I think the 'stop' - as well as the adduser stage - should be moved
to a .preinst script.
Then sequence would be: 

  stop . adduser-if-needed . install/upgrade . setup . maybe-(re)start

where 'maybe' would be user's choice.

The re-start according to previous status, in 'restart', if any, should be 
used for non-interactive - if allowed - upgrade.

thanks
-- paolo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to