Subject: pkg/11660: postgresql 7.0.2 pkg/INSTALL fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <collver@softhome.net>
List: netbsd-bugs
Date: 12/07/2000 08:40:17
>Number:         11660
>Category:       pkg
>Synopsis:       postgresql 7.0.2 pkg/INSTALL fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 07 08:39:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ben Collver
>Release:        NetBSD 1.5
>Organization:
not organized
>Environment:
NetBSD 1.5 and pkgsrc 12/06/00
>Description:
Line 33 of /usr/pkgsrc/databases/postgresql/pkg/INSTALL
	mkdir -o ${PGHOME}
causes "user add" command on line 37 to fail because the home directory already exists.  The INSTALL script does not check the return value of the "user add" command.
>How-To-Repeat:
Install postgresql from recent pkgsrc on NetBSD 1.5
>Fix:
comment out line 33 of pkg/INSTALL
>Release-Note:
>Audit-Trail:
>Unformatted: