Subject: pkg/22758: mail/pine has un-needed exec/unexec for configs
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 09/12/2003 09:57:26
>Number:         22758
>Category:       pkg
>Synopsis:       mail/pine has un-needed exec/unexec for config
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 12 16:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
mail/pine has a PLIST which does:

@unexec if cmp -s %D/etc/pine.conf %D/share/examples/pine/pine.conf; then ${RM} 
-f %D/etc/pine.conf; fi
@exec if [ ! -f %D/etc/pine.conf ]; then cp -p %D/share/examples/pine/pine.conf 
%D/etc/; fi

This package uses:

USE_PKGINSTALL= YES

CONF_FILES=    ${PREFIX}/share/examples/pine/pine.conf ${PKG_SYSCONFDIR}/pine.co
nf

>How-To-Repeat:
>Fix:
Remove the two lines from the PLIST.
>Release-Note:
>Audit-Trail:
>Unformatted: