bin/127732: pkg_add(1) manual documents --no-scripts,
but source uses --no-script
TerryP
BigBoss1964 at gmail.com
Tue Sep 30 00:40:01 UTC 2008
>Number: 127732
>Category: bin
>Synopsis: pkg_add(1) manual documents --no-scripts, but source uses --no-script
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 30 00:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: TerryP
>Release: 7.0-STABLE
>Organization:
>Environment:
FreeBSD dixie.launchmodem.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Sep 18 21:57:03 UTC 2008 root at dixie.launchmodem.com:/usr/obj/usr/src/sys/VIPER i386
>Description:
The manual page for pkg_add(1) documents that the long option to skip executing scripts is --no-scripts. When attempting to execute pkg_add --no-scripts, the following output is given:
pkg_add: unrecognized option `--noscripts'
usage: pkg_add [-viInfFrRMSK] [-t template] [-p prefix] [-P prefix] [-C chrootdir]
pkg-name [pkg-name ...]
A quick look at src/usr.sbin/pkg_install/add/main.c, shows that the the program accepts --no-script instead.
>How-To-Repeat:
execute$ pkg_add --no-scripts your_pkg_file.tbz
>Fix:
Change one line in either the manual page (src/usr.sbin/pkg_install/add/pkg_add.1) or the programs source code (src/usr.sbin/pkg_install/add/main.c).
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list