[tor-commits] [webwml/master] reorder stable and experimental on debian selector

sebastian at torproject.org sebastian at torproject.org
Wed Feb 11 18:09:10 UTC 2015


commit d6e25bbf368eadfac24c74c6e78972819a821cab
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Wed Feb 11 19:08:54 2015 +0100

    reorder stable and experimental on debian selector
---
 docs/en/debian.wml |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/docs/en/debian.wml b/docs/en/debian.wml
index 5503438..9869735 100644
--- a/docs/en/debian.wml
+++ b/docs/en/debian.wml
@@ -11,7 +11,7 @@
 // the terms of the GNU GPLv2, http://www.gnu.org/licenses/gpl-2.0.html.
 var sources = {};
 var software = {
-'tor': { 'experimental-0.2.6.x': { 'squeeze': [ 'squeeze' ],
+'tor': { 'stable': { 'squeeze': [ 'squeeze' ],
                      'wheezy':  [ 'wheezy' ],
                      'jessie':  [ 'jessie' ],
                      'sid':     [ 'sid' ],
@@ -20,7 +20,7 @@ var software = {
                      'saucy':   [ 'saucy'],
                      'trusty':  [ 'trusty'],
                      'utopic':  [ 'utopic'] },
-         'stable':    { 'squeeze': [ 'squeeze' ],
+         'experimental-0.2.6.x':    { 'squeeze': [ 'squeeze' ],
                      'wheezy':  [ 'wheezy' ],
                      'jessie':  [ 'jessie' ],
                      'sid':     [ 'sid' ],
@@ -30,7 +30,7 @@ var software = {
                      'trusty':  [ 'trusty'],
                      'utopic':  [ 'utopic'] },
        },
-'tor (from source)': { 'experimental-0.2.6.x': { 'squeeze': [ 'squeeze' ],
+'tor (from source)': { 'stable': { 'squeeze': [ 'squeeze' ],
                      'wheezy':  [ 'wheezy' ],
                      'jessie':  [ 'jessie' ],
                      'sid':     [ 'sid' ],
@@ -39,7 +39,7 @@ var software = {
                      'saucy':   [ 'saucy'],
                      'trusty':  [ 'trusty'],
                      'utopic':  [ 'utopic'] },
-         'stable':    { 'squeeze': [ 'squeeze' ],
+         'experimental-0.2.6.x':    { 'squeeze': [ 'squeeze' ],
                      'wheezy':  [ 'wheezy' ],
                      'jessie':  [ 'jessie' ],
                      'sid':     [ 'sid' ],
@@ -89,19 +89,16 @@ function update() {
     if (package != pkg.prev) {
         while (ver.firstChild)
             ver.removeChild(ver.firstChild);
-        var selected;
         for (version in software[package]) {
             option = document.createElement('option');
             if (version[0] == '_') {
                 version = version.slice(1);
-                selected = version;
             }
             option.appendChild(document.createTextNode(version));
             option.value = version = version.replace(/ \(.*\)/,'');
 //alert(version);
             ver.appendChild(option);
         }
-        ver.value = version = selected || version;
         pkg.prev = package
     }
     try {



More information about the tor-commits mailing list