mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set $arch accordingly to release
This commit is contained in:
parent
6aac31ef76
commit
b1fef27fcf
@ -99,7 +99,7 @@ $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg", "ece", "cwr");
|
||||
if(file_exists("/etc/platform")) {
|
||||
$arch = php_uname("m");
|
||||
/* Do not remove this, it is not needed for the snapshots URL but is needed later for the -RELEASE/stable URLs */
|
||||
//$arch = ($arch == "i386") ? "" : '/' . $arch;
|
||||
$arch = ($arch == "i386") ? "" : '/' . $arch;
|
||||
|
||||
/* Full installs and NanoBSD use the same update directory and manifest in 2.x */
|
||||
$g['update_url']="https://updates.pfsense.org/_updaters{$arch}";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user