Show stable entry along with experimental for debian
Sebastian Hahn

Sebastian Hahn commited on 2015-02-11 18:46:22
Zeige 1 geänderte Dateien mit 11 Einfügungen und 6 Löschungen.

... ...
@@ -128,17 +128,22 @@ function update() {
128 128
             }
129 129
             txt += "http://deb.torproject.org/torproject.org";
130 130
             txt += " ";
131
-            if (version != 'stable') {
132
-                txt += package;
133
-                txt += "-";
134
-                txt += version;
135
-                txt += "-";
136
-            }
137 131
             txt += keys[i];
138 132
             txt += " main";
139 133
             need_signed = true;
140 134
             target = keys[i];
141 135
             txt = "deb " + txt + "\ndeb-src " + txt;
136
+            if (version != 'stable') {
137
+                txt2 = "http://deb.torproject.org/torproject.org";
138
+                txt2 += " ";
139
+                txt2 += package;
140
+                txt2 += "-";
141
+                txt2 += version;
142
+                txt2 += "-";
143
+                txt2 += keys[i];
144
+                txt2 += " main";
145
+                txt = txt + "\ndeb " + txt2 + "\ndeb-src " + txt2;
146
+            }
142 147
         }
143 148
         txt += "\n";
144 149
     }
145 150