diff options
author | keramida <keramida@FreeBSD.org> | 2008-07-08 03:21:05 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2008-07-08 03:21:05 +0000 |
commit | 798c7a40902b7d2c7cb218573b8c30f27ab8779b (patch) | |
tree | 5a3eded9783abcc702aa37080d6ed7716021b9a0 /usr.sbin/pkg_install | |
parent | 0a2fec57c27ba55b8ae0ec29893b9e9b48eeacf1 (diff) | |
download | FreeBSD-src-798c7a40902b7d2c7cb218573b8c30f27ab8779b.zip FreeBSD-src-798c7a40902b7d2c7cb218573b8c30f27ab8779b.tar.gz |
Enable the -n option of pkg_create(1).
The changes to make the option work are already in place, but I missed
the patch hunk that adds it to the getopt() option-handling loop.
Pointy hat: keramida
Approved by: flz
MFC after: 1 week
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/create/main.c | 4 | ||||
-rw-r--r-- | usr.sbin/pkg_install/lib/lib.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/main.c b/usr.sbin/pkg_install/create/main.c index 0ff8234..b98b21e 100644 --- a/usr.sbin/pkg_install/create/main.c +++ b/usr.sbin/pkg_install/create/main.c @@ -208,6 +208,10 @@ main(int argc, char **argv) Recursive = TRUE; break; + case 'n': + Regenerate = FALSE; + break; + case 0: if (Help) usage(); diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h index 545cd3c..d463257 100644 --- a/usr.sbin/pkg_install/lib/lib.h +++ b/usr.sbin/pkg_install/lib/lib.h @@ -105,7 +105,7 @@ * Version of the package tools - increase only when some * functionality used by bsd.port.mk is changed, added or removed */ -#define PKG_INSTALL_VERSION 20080612 +#define PKG_INSTALL_VERSION 20080708 #define PKG_WRAPCONF_FNAME "/var/db/pkg_install.conf" #define main(argc, argv) real_main(argc, argv) |