Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 16:13:32 -0400 (EDT)
From:      Eric van Gyzen <vangyzen@stat.duke.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/55477: pkg_create(1) man page seems ambiguous
Message-ID:  <200308112013.h7BKDWtX011068@stat.duke.edu>
Resent-Message-ID: <200308112020.h7BKK1Oj021318@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55477
>Category:       bin
>Synopsis:       pkg_create(1) man page seems ambiguous
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 11 13:20:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Eric van Gyzen
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
FreeBSD 5.1-RELEASE

>Description:
(In my opinion,) The explanation of the -i option to pkg_create(1) doesn't
sufficiently explain the order of the arguments to the +INSTALL script.
It says that the keyword P(RE|OST)-INSTALL will be passed, along with the
package's name.  To me, that sounds like the keyword is first, then the
package's name.  (Now that I have discovered otherwise, the intended meaning
seems obvious, but when I first read it, I was confused.)

>How-To-Repeat:
N/A
>Fix:
I would suggest changing the wording from:
    differentiating between the functionality by passing the keywords
    PRE-INSTALL and POST-INSTALL respectively, along with the package's name.
to:
    differentiating between the functionality by passing the keywords
    PRE-INSTALL and POST-INSTALL (respectively) after the package's name.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308112013.h7BKDWtX011068>