mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
f444c3965c
commit
3aad955181
@ -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) == "/")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user