Fix the <pre>s in debian
Peter Palfrader

Peter Palfrader commited on 2012-02-17 17:56:55
Zeige 1 geänderte Dateien mit 11 Einfügungen und 11 Löschungen.

... ...
@@ -67,7 +67,7 @@ Here's a quick mapping:
67 67
 Then add this line to your
68 68
 <tt>/etc/apt/sources.list</tt>
69 69
 file:<br />
70
-<pre>
70
+<pre style="margin: 1.5em 0 1.5em 2em">
71 71
 deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
72 72
 </pre>
73 73
 where you put the codename of your distribution (i.e. lenny, sid,
... ...
@@ -78,13 +78,13 @@ in place of &lt;DISTRIBUTION&gt;.
78 78
 <p>
79 79
 Then add the gpg key used to sign the packages by running the following
80 80
 commands at your command prompt:
81
-<pre>
81
+<pre style="margin: 1.5em 0 1.5em 2em">
82 82
 gpg --keyserver keys.gnupg.net --recv 886DDD89
83 83
 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
84 84
 </pre>
85 85
 Now refresh your sources, running the following command (as root) at your
86 86
 command prompt:
87
-<pre>
87
+<pre style="margin: 1.5em 0 1.5em 2em">
88 88
 apt-get update
89 89
 </pre>
90 90
 If there are no errors you're good to continue.
... ...
@@ -93,14 +93,14 @@ If there are no errors you're good to continue.
93 93
 <p>
94 94
 We provide a Debian package to help you keep our signing key current.  It is
95 95
 recommended you use it.  Install it using
96
-<pre>
96
+<pre style="margin: 1.5em 0 1.5em 2em">
97 97
 apt-get install deb.torproject.org-keyring
98 98
 </pre>
99 99
 </p>
100 100
 
101 101
 <p>
102 102
 To finally install Tor just run:
103
-<pre>
103
+<pre style="margin: 1.5em 0 1.5em 2em">
104 104
 apt-get install tor
105 105
 </pre>
106 106
 </p>
... ...
@@ -131,7 +131,7 @@ development branch of Tor on Debian or Ubuntu</a></h2>
131 131
 download/download>#packagediff">development branch</a> of Tor instead
132 132
 (more features and more bugs), you need to add a different set of lines
133 133
 to your <tt>/etc/apt/sources.list</tt> file:<br />
134
-<pre>
134
+<pre style="margin: 1.5em 0 1.5em 2em">
135 135
 deb     http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
136 136
 deb     http://deb.torproject.org/torproject.org experimental-&lt;DISTRIBUTION&gt; main
137 137
 </pre>
... ...
@@ -142,7 +142,7 @@ sid, maverick, ...) in place of
142 142
 
143 143
 <p>
144 144
 Then run the following commands at your command prompt:
145
-<pre>
145
+<pre style="margin: 1.5em 0 1.5em 2em">
146 146
 gpg --keyserver keys.gnupg.net --recv 886DDD89
147 147
 gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
148 148
 apt-get update
... ...
@@ -165,7 +165,7 @@ instructions.
165 165
 <p>
166 166
 If you want to build your own debs from source you must first add an
167 167
 appropriate <tt>deb-src</tt> line to <tt>sources.list</tt>.
168
-<pre>
168
+<pre style="margin: 1.5em 0 1.5em 2em">
169 169
 # For the stable version.
170 170
 deb-src http://deb.torproject.org/torproject.org &lt;DISTRIBUTION&gt; main
171 171
 
... ...
@@ -175,12 +175,12 @@ deb-src http://deb.torproject.org/torproject.org experimental-&lt;DISTRIBUTION&g
175 175
 </pre>
176 176
 You also need to install the necessary packages to build your own debs and the
177 177
 packages needed to build Tor:
178
-<pre>
178
+<pre style="margin: 1.5em 0 1.5em 2em">
179 179
 apt-get install build-essential fakeroot devscripts
180 180
 apt-get build-dep tor
181 181
 </pre>
182 182
 Then you can build Tor in ~/debian-packages:
183
-<pre>
183
+<pre style="margin: 1.5em 0 1.5em 2em">
184 184
 mkdir ~/debian-packages; cd ~/debian-packages
185 185
 apt-get source tor
186 186
 cd tor-*
... ...
@@ -188,7 +188,7 @@ debuild -rfakeroot -uc -us
188 188
 cd ..
189 189
 </pre>
190 190
 Now you can install the new package:
191
-<pre>
191
+<pre style="margin: 1.5em 0 1.5em 2em">
192 192
 sudo dpkg -i tor_*.deb
193 193
 </pre>
194 194
 </p>
195 195