diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-08 10:43:03 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-08 10:43:03 +0000 |
commit | 6438218c148cbea78ac24b7bc3d6e0480c6c55fd (patch) | |
tree | d72202b9ed40a1e29ad490a17662aa954cbe6b10 /usr.sbin/pkg/pkg.c | |
parent | adea04bda7cbe5a2abda01ee42f309d5e6287366 (diff) | |
download | FreeBSD-src-6438218c148cbea78ac24b7bc3d6e0480c6c55fd.zip FreeBSD-src-6438218c148cbea78ac24b7bc3d6e0480c6c55fd.tar.gz |
Fix bootstrapping pkgng by not appending "/latest/" to PACKAGESITE.
Reporter by : Alexander Yerenkow (via irc)
Diffstat (limited to 'usr.sbin/pkg/pkg.c')
-rw-r--r-- | usr.sbin/pkg/pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index ccb1b91..0aef3da 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -167,7 +167,7 @@ bootstrap_pkg(void) warnx("No MIRROR_TYPE defined"); return (-1); } - snprintf(url, MAXPATHLEN, "%s/latest/Latest/pkg.txz", packagesite); + snprintf(url, MAXPATHLEN, "%s/Latest/pkg.txz", packagesite); snprintf(tmppkg, MAXPATHLEN, "%s/pkg.txz.XXXXXX", getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP); |