diff options
author | flz <flz@FreeBSD.org> | 2006-01-09 18:27:21 +0000 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2006-01-09 18:27:21 +0000 |
commit | c97d1806500049ffe6c3e8091ab4cfb4c997281e (patch) | |
tree | 1d907422a2b7e64739038fb6d8d33e072dc613d3 /usr.sbin/pkg_install/info/perform.c | |
parent | 93d7e294fcdb0d064bd15e9208026d662d5c43ce (diff) | |
download | FreeBSD-src-c97d1806500049ffe6c3e8091ab4cfb4c997281e.zip FreeBSD-src-c97d1806500049ffe6c3e8091ab4cfb4c997281e.tar.gz |
Add -K option to pkg_add and pkg_info.
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion
MFC after: 1 week
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/info/perform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 960641b..3f3ceb0 100644 --- a/usr.sbin/pkg_install/info/perform.c +++ b/usr.sbin/pkg_install/info/perform.c @@ -100,7 +100,7 @@ pkg_do(char *pkg) int code = 0; if (isURL(pkg)) { - if ((cp = fileGetURL(NULL, pkg)) != NULL) { + if ((cp = fileGetURL(NULL, pkg, KeepPackage)) != NULL) { strcpy(fname, cp); isTMP = TRUE; } |