From c30e712010d970ec3364c2a7dba0785bbcf2debe Mon Sep 17 00:00:00 2001 From: hiromipaw Date: Mon, 22 Jan 2018 22:56:34 +0100 Subject: [PATCH] Remove openbsd from install Tor instruction add to download easy en --- docs/en/openbsd.wml | 39 ----------------------------------- docs/en/sidenav.wmi | 3 --- download/en/download-easy.wml | 20 ++++++++++++++++++ js/dlpage01.js | 8 ++++--- 4 files changed, 25 insertions(+), 45 deletions(-) delete mode 100644 docs/en/openbsd.wml diff --git a/docs/en/openbsd.wml b/docs/en/openbsd.wml deleted file mode 100644 index 2e3bdc12..00000000 --- a/docs/en/openbsd.wml +++ /dev/null @@ -1,39 +0,0 @@ -## translation metadata -# Revision: $Revision$ -# Translation-Priority: 2-medium - -#include "head.wmi" TITLE="Tor Project: OpenBSD Install Instructions" CHARSET="UTF-8" -
- -
-

Running Tor on OpenBSD

-
- -

These are advanced installation instructions for running - Tor in a OpenBSD environment. -

- -

To install from OpenBSD's packages, run:

- - -
pkg_add tor-browser
- - -

To install the Tor Browser port from an updated ports tree, run:

- -
cd /usr/ports/meta/tor-browser && make install
- -
- -
-#include "side.wmi" -#include "info.wmi" -
- -
- -#include diff --git a/docs/en/sidenav.wmi b/docs/en/sidenav.wmi index 3b7b08dd..926a3141 100644 --- a/docs/en/sidenav.wmi +++ b/docs/en/sidenav.wmi @@ -39,9 +39,6 @@ {'url' => 'docs/rpms', 'txt' => 'Installing Tor on Fedora/CentOS', }, - {'url' => 'docs/openbsd', - 'txt' => 'Installing Tor on OpenBSD', - }, {'url' => 'docs/tor-doc-unix', 'txt' => 'Installing Tor Source', }, diff --git a/download/en/download-easy.wml b/download/en/download-easy.wml index 8ba1d00e..62d9d205 100644 --- a/download/en/download-easy.wml +++ b/download/en/download-easy.wml @@ -119,6 +119,25 @@

Not Using Linux? Download for Mac or Windows

+ + +
+
+
+

Running Tor on OpenBSD

+

These are installation instructions for running Tor Browser in a OpenBSD environment.

+

To install from OpenBSD's packages, run:

+ + +
pkg_add tor-browser
+ + +

To install the Tor Browser port from an updated ports tree, run:

+ +
cd /usr/ports/meta/tor-browser && make install
+
+
+
@@ -268,6 +287,7 @@ are blocked.

+ diff --git a/js/dlpage01.js b/js/dlpage01.js index d2ba4dc8..f95e5ae7 100644 --- a/js/dlpage01.js +++ b/js/dlpage01.js @@ -16,7 +16,7 @@ function OScheck() { }else if(clientos == "Windows"){ $('.easy.windows').css('display', 'block'); }else if(clientos == "Mac"){ - $('.easy.mac').css('display', 'block'); + $('.easy.mac').css('display', 'block'); }else if(clientos == "Android"){ $('.easy.android').css('display', 'block'); }else{ @@ -92,7 +92,7 @@ $(document).ready(function () { var url = $.param.fragment(); // Toggle the '.easy' divs to off - if(url == 'windows'|url == 'mac'|url == 'linux'|url == 'android'){ + if(url == 'windows'|url == 'mac'|url == 'linux'|url == 'openbsd'|url == 'android'){ $('.easy').css('display', 'none'); } @@ -102,7 +102,9 @@ $(document).ready(function () { } else if(url == 'mac'){ $('.easy.mac').css('display', 'block'); } else if(url == 'linux'){ - $('.easy.linux').css('display', 'block'); + $('.easy.linux').css('display', 'block'); + } else if(url == 'openbsd'){ + $('.easy.bsd').css('display', 'block'); } else if(url == 'android'){ $('.easy.android').css('display', 'block'); } else {