Date: Mon, 12 Mar 2001 02:20:02 -0800 (PST) From: Clive Lin <clive@CirX.ORG> To: freebsd-ports@FreeBSD.org Subject: Re: ports/25720: [chinese/pine4] Uninstall unnecessary configuration file during pkg_delete Message-ID: <200103121020.f2CAK2d88524@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/25720; it has been noted by GNATS. From: Clive Lin <clive@CirX.ORG> To: avatar@mmlab.cse.yzu.edu.tw Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/25720: [chinese/pine4] Uninstall unnecessary configuration file during pkg_delete Date: Mon, 12 Mar 2001 18:17:55 +0800 Hi, Well, I think simply add etc/pine.conf would be sufficient. If pine.conf isn't modified, it would be removed. If it's customized, pkg_delete would not remove it because the checksum would mismatch. How do you think ? On Mon, Mar 12, 2001 at 05:31:05AM -0000, avatar@mmlab.cse.yzu.edu.tw wrote: > diff -ru pine4.old/pkg-plist pine4/pkg-plist > --- pine4.old/pkg-plist Sat Oct 10 12:29:27 1998 > +++ pine4/pkg-plist Mon Mar 12 11:29:17 2001 > @@ -1,3 +1,6 @@ > +@unexec %D/bin/pine -conf >%D/etc/pine.conf.tmp > +@unexec if cmp -s %D/etc/pine.conf %D/etc/pine.conf.tmp; then rm -f %D/etc/pine.conf; fi > +@unexec rm -f %D/etc/pine.conf.tmp > bin/pgpdecode > bin/pgpencrypt > bin/pgpsign -- pub 1024D/F8D2B472 2000-08-05 Clive Lin <clive@CirX.ORG> Key fingerprint = 7F9D 57A8 55C7 AA18 49B5 3820 570B 27F6 F8D2 B472 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?200103121020.f2CAK2d88524>