Fix bootstrapping pkgng by not appending "/latest/" to PACKAGESITE.

Reporter by :	Alexander Yerenkow (via irc)
This commit is contained in:
Baptiste Daroussin 2013-03-08 10:43:03 +00:00
parent 15ae0c9af9
commit 968d04c371

View File

@ -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);