Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2012 18:27:10 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Chris Rees <utisoft@gmail.com>
Cc:        Alberto Villa <avilla@freebsd.org>, Doug Barton <dougb@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: portupgrade -> portmaster Rosetta Stone?
Message-ID:  <4F4D0E6E.6010108@quip.cz>
In-Reply-To: <CADLo838R-4Pw%2B-x-nABbgy0cxLbU5Kq52nXWL%2Bu1nUBGfCr-ZQ@mail.gmail.com>
References:  <CA%2BE3k93doEmK7YpiZLgBCB5WUmOeCCLLLQBak_-Nx8sGqiafhQ@mail.gmail.com>	<4F4BE02D.4020907@FreeBSD.org> <4F4CA21F.1010205@quip.cz>	<201202281102.53701.avilla@freebsd.org>	<4F4CBB5F.4000601@dilkie.com> <CADLo838R-4Pw%2B-x-nABbgy0cxLbU5Kq52nXWL%2Bu1nUBGfCr-ZQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees wrote:
> On 28 Feb 2012 12:26, "Lee Dilkie"<lee@dilkie.com>  wrote:
>>
>>
>>
>> On 2/28/2012 5:02 AM, Alberto Villa wrote:
>>> On Tuesday 28 February 2012 10:45:03 Miroslav Lachman wrote:
>>>> And if we are talking about new flags... is it some way to not wait for
>>>> keypress after successful installation and displaying pkg-messages?
>>>>
>>>> It is useful feature, but there is some cases where I want to do some
>>>> action right after the install without user interaction.
>>>
>>> Set PAGER=cat.
>>
>> seems a little obtuse.... what's wrong with a flag?
>>
>
> Because you aren't meant to skip pkg-messages?

It is not the right point. Bare ports system allows what I need:

make deinstall & make install && service mysql-server restart

It is not about to skip the message. The message will be shown and user 
can read it, the problem is "you are forced to interactive step", eg. 
you must press a key to continue (to restart the service, which is down)

So until there will be some hooks in portmaster or ports system to 
request service restart after upgrade (as in portupgrade), I am looking 
for some flag or whatever to do it manually without interactive step.

If there is no better way to do it, I will try to set PAGER on next 
mysql upgrade.

Thanks for the tip

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4D0E6E.6010108>