[tor-commits] [webwml/staging] Show stable entry along with experimental for debian

sebastian at torproject.org sebastian at torproject.org
Thu Feb 12 12:35:31 UTC 2015


commit d671689fe4123abf1a609c05c0bed9b2398ad3cd
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Wed Feb 11 18:46:22 2015 +0100

    Show stable entry along with experimental for debian
---
 docs/en/debian.wml |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/docs/en/debian.wml b/docs/en/debian.wml
index 7e1fa2f..c1e33d6 100644
--- a/docs/en/debian.wml
+++ b/docs/en/debian.wml
@@ -128,17 +128,22 @@ function update() {
             }
             txt += "http://deb.torproject.org/torproject.org";
             txt += " ";
-            if (version != 'stable') {
-                txt += package;
-                txt += "-";
-                txt += version;
-                txt += "-";
-            }
             txt += keys[i];
             txt += " main";
             need_signed = true;
             target = keys[i];
             txt = "deb " + txt + "\ndeb-src " + txt;
+            if (version != 'stable') {
+                txt2 = "http://deb.torproject.org/torproject.org";
+                txt2 += " ";
+                txt2 += package;
+                txt2 += "-";
+                txt2 += version;
+                txt2 += "-";
+                txt2 += keys[i];
+                txt2 += " main";
+                txt = txt + "\ndeb " + txt2 + "\ndeb-src " + txt2;
+            }
         }
         txt += "\n";
     }





More information about the tor-commits mailing list