Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jun 2000 12:31:13 -0700
From:      Doug Barton <DougB@gorean.org>
To:        Satoshi Asami <asami@cs.berkeley.edu>
Cc:        pine@freebsd.ady.ro, ports@freebsd.org
Subject:   Re: pine.conf
Message-ID:  <39395D01.9A4DC9A7@gorean.org>
References:  <200006030834.BAA75878@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi Asami wrote:
> 
> Hi,
> 
> mail/pine4/pkg/PLIST is creating pine.conf using the following two lines:
> 
>   @exec %D/bin/pine -P %D/etc/pine.conf -conf >%D/etc/pine.conf.tmp
>   @exec /bin/mv %D/etc/pine.conf.tmp %D/etc/pine.conf
> 
> I'm not sure what the -P option of pine does

	It specifies a specific conf file to use, instead of the default. 

> but this raises the following questions:
> 
> (1) Does it preserve the user's existing pine.conf?  (I assume it
>     does, but just checking.)

	Yes. 

> (2) What would be an acceptable way of removing it on deinstallation?
>     Is there a way to determine whether the user modified it to be
>     something other than the "default" pine.conf?  (If it is modified,
>     it shouldn't be removed -- if it is not, then it can safely be
>     removed, since a new installation will regenerate it properly.)

	'pine -conf' will generate a default file for that version of pine on
stdout. You could diff the installed version against that to detect
changes. 

HTH,

Doug
-- 
        "Live free or die"
		- State motto of my ancestral homeland, New Hampshire

	Do YOU Yahoo!?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39395D01.9A4DC9A7>