When we supply a version number, it should be under All/ and not Latest/ (which has names but no version numbers)

This commit is contained in:
jim-p 2010-12-17 10:31:41 -05:00
parent f444c3965c
commit 3aad955181

View File

@ -420,7 +420,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url =
$arch = php_uname("m");
$rel = php_uname("r");
$rel = strtolower(substr($rel, 0, strrpos($rel, "-")));
$priv_url = "http://ftp2.{$osname}.org/pub/{$osname}/ports/{$arch}/packages-{$rel}/Latest";
$priv_url = "http://ftp2.{$osname}.org/pub/{$osname}/ports/{$arch}/packages-{$rel}/All";
if (empty($base_url))
$base_url = $priv_url;
if (substr($base_url, -1) == "/")