Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 04:20:03 -0800 (PST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/25720: [chinese/pine4] Uninstall unnecessary configuration file during pkg_delete
Message-ID:  <200103121220.f2CCK3012669@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: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To: Clive Lin <clive@CirX.ORG>
Cc: <FreeBSD-gnats-submit@FreeBSD.ORG>
Subject: Re: ports/25720: [chinese/pine4] Uninstall unnecessary configuration
 file during pkg_delete
Date: Mon, 12 Mar 2001 20:10:23 +0800 (CST)

 On Mon, 12 Mar 2001, Clive Lin wrote:
 > Okay, I have a (probally better) idea. How about adding a
 >
 > ${CAT} ${FILESDIR}/pine.conf >> ${PREFIX}/etc/pine.conf
 >
 > in post-install: target of chinese/pine4/Makefile ?
 I've already considered above scheme; however, it seemed that the new
 appended data would overwrite previous setting in original pine.conf.
 Considering following attribute/value pair already exists in
 ${PREFIX}/etc/pine.conf:
 
 feature-list=prefer-plain-text,
         enable-arrow-navigation,
         no-enable-flag-cmd,
         enable-full-header-cmd,
         enable-suspend,
         quell-folder-internal-msg,
         quit-without-confirm
 
 After append ${FILESDIR}/pine.conf in post-install, there would be two
 "feature-list" attribute/value pair in ${PREFIX}/etc/pine.conf.
 
 feature-list=prefer-plain-text,
         enable-arrow-navigation,
         no-enable-flag-cmd,
         enable-full-header-cmd,
         enable-suspend,
         quell-folder-internal-msg,
         quit-without-confirm
 .
 .
 .
 feature-list=quit-without-confirm
 
 The later would 'overwrite' the former during Pine execution
 unfortunately...
 
 >
 [...]
 >
 Maybe the better approach should be use '-P' to merge those changes:
 
 	${PREFIX}/bin/pine -P files/pine.conf -conf >${WRKSRC}/pine.conf
 
 However, it seemd that above combination didn't work in current
 version of Pine(I've submitted the patch to Pine dev. team hours ago, not
 yet received any respond).
 
 -- 
 Regards,
 
 Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
 Multimedia Laboratory, Dept. of Computer Science & Engineering
 Yuan Ze University
 Taiwan, Republic of China
 

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?200103121220.f2CCK3012669>