diff options
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 5de21a8..178ff7c 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -536,10 +536,8 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = } /* FreeBSD has no PBI's hosted, so fall back to our own URL for now. (Maybe fail to PC-BSD?) */ - $arch = php_uname("m"); - $arch = ($arch == "i386") ? "" : $arch . '/'; $rel = get_freebsd_version(); - $priv_url = "http://files.pfsense.org/packages/{$arch}{$rel}/All/"; + $priv_url = "http://files.pfsense.org/packages/{$rel}/All/"; if (empty($base_url)) $base_url = $priv_url; if (substr($base_url, -1) == "/") |