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

Re: User output (_not_ prompting) vs prompting in postinst scripts



Sorry for two messages - maybe you're right.

Your idea would have the definite plus of having translations of our message
- which we would not get with an echo command.

Sorry for double post :(

Misha


misha680 wrote:
> 
> Hi Andreas:
> 
> Yes thank you. Probably good to hold off on upload until this issue is
> resolved.
> 
> So, just to check, there is no way to simply tell the user, e.g., via echo
> somewhere?
> 
> I believe if we put the note in postinst when it is called with the
> configure command-line parameter this would only happen when configuring
> the package anyway.
> 
> Just personally, I know I would _hate_ to have to be prompted when I'm
> installing a package, especially when it's just to go to some URL. On the
> other hand, it _would_ make me pay attention, and otherwise I might just
> complain to a mailing list :)
> 
> Thanks
> Misha
> 
> p.s. By the way, is Debian Med (or Debian Pure Blends in general) part of
> Ubuntu Merge:
> https://wiki.ubuntu.com/UbuntuDevelopment/Merging
> i.e., do all of our packages eventually end up in Ubuntu by default? That
> would be neat :)
> 
> Thx
> 
> 
> Andreas Tille-5 wrote:
>> 
>> On Mon, Oct 11, 2010 at 01:33:50PM -0500, Misha Koshelev wrote:
>>> I started writing a nice long detailed email about this but realized
>>> my question was rather simple so I'll skip the details... (ok I lied
>>> they are below)
>>> 
>>> I realize user _prompting_ in postinst must be done with debconf.
>>> 
>>> What about user _output_?
>> 
>> You can also display a note via debconf and this makes probably sense in
>> openmrs.  If you ask me the config script is the more apropriate place.
>> Rationale:  The user will read this note in any case before he tries to
>> start working with the programm.  However if he installs a bunch of
>> packages together with openmrs it makes sense to be interupted (also a
>> note needs pressing <Enter>) only in the configure process to enable him
>> fetching a cup of coffee after the configure process is finished.  If he
>> comes back and realises a second interuption in the postinst and then
>> has to wait until everything else is finished before he can start
>> working this is not nice.
>> 
>> (I assume I should not yet upload the current openmrs package until this
>> question is solved, right?)
>> 
>> Kind regards
>> 
>>       Andreas.
>> 
>> -- 
>> http://fam-tille.de
>> 
>> 
>> -- 
>> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact
>> listmaster@lists.debian.org
>> Archive: [🔎] 20101012075621.GB20340@an3as.eu">http://lists.debian.org/[🔎] 20101012075621.GB20340@an3as.eu
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/User-output-%28_not_-prompting%29-vs-prompting-in-postinst-scripts-tp29936859p29945320.html
Sent from the debian-med mailing list archive at Nabble.com.


Reply to: