Skip to content
Browse files

Remove arch from fall back url since it's a single dir now

  • Loading branch information...
1 parent 34a2465 commit 7742067a1996a97c94cae009f5ad8a9349be3200 @rbgarga rbgarga committed with Jan 29, 2014
Showing with 1 addition and 3 deletions.
  1. +1 −3 etc/inc/pkg-utils.inc
View
4 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) == "/")

0 comments on commit 7742067

Please sign in to comment.
Something went wrong with that request. Please try again.