From owner-freebsd-ports Mon Jun 5 3:41:43 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [194.102.224.1]) by hub.freebsd.org (Postfix) with ESMTP id EE77137B829 for ; Mon, 5 Jun 2000 03:41:34 -0700 (PDT) (envelope-from ady@warpnet.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id NAA28220; Mon, 5 Jun 2000 13:46:59 +0300 (EEST) (envelope-from ady@warpnet.ro) Date: Mon, 5 Jun 2000 13:46:59 +0300 (EEST) From: Adrian Penisoara To: Doug Barton Cc: Satoshi Asami , ports@freebsd.org Subject: Re: pine.conf In-Reply-To: <39395D01.9A4DC9A7@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Doug answered just fine. Ady (@freebsd.ady.ro) On Sat, 3 Jun 2000, Doug Barton wrote: > 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