diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-29 09:40:45 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-30 15:46:13 -0200 |
commit | 03734bf71ea58800cbde6d8223d38792a8b807b3 (patch) | |
tree | 06279586e697a7272ca9b2292fafe0835e24cbbf /etc/inc | |
parent | e2ffc9d35e68dc9301b66b343eb82cd4f674ba77 (diff) | |
download | pfsense-03734bf71ea58800cbde6d8223d38792a8b807b3.zip pfsense-03734bf71ea58800cbde6d8223d38792a8b807b3.tar.gz |
Remove arch from fall back url since it's a single dir now
Diffstat (limited to 'etc/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) == "/") |