Fix bootstrapping pkgng by not appending "/latest/" to PACKAGESITE.
Reporter by : Alexander Yerenkow (via irc)
This commit is contained in:
parent
15ae0c9af9
commit
968d04c371
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user