Hi,

On Sonntag, 5. September 2010, Hector Romojaro wrote:
> > > So, is it really a bug? Should I add a postgresql strict dependency,
> > > and forgot about installing with a remote database?
> >
> > No, that's the wrong solution. The right solution is to deal gracefully
> > if no postgresql is (locally) available.
>
> mmmmmm... something like this?
>
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Selecting previously deselected package dotlrn.
> (Reading database ... 156188 files and directories currently installed.)
> Unpacking dotlrn (from dotlrn_2.5.0+dfsg-5_all.deb) ...
> Setting up dotlrn (2.5.0+dfsg-5) ...
> * Error trying to connect to Postgresql server.
> * TIP: is the postgresql package installed?
> -------------------------------------------------------------
> I've tried my best to create the dotLRN user and database
> but an error has occurred
> -------------------------------------------------------------
> You will have to set up the dotLRN user and database yourself
> -------------------------------------------------------------
>
>
> ... and then exit without errors?

yeah, something like this. No need for ascii-art though, and you also shouldnt 
expect that the text is actually read :-) (So better provide information in a 
README file than in the failure text.)


cheers,
        Holger

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to