summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-07-01 18:44:05 -0700
committerelijah <elijah@riseup.net>2014-07-01 18:44:05 -0700
commitadd76b02c608901fb2d533df20424bbc81da76a9 (patch)
tree83ab0a7b7878070853431ddc92c7d5123bcf5750
parentc8abaabe42c66cd76651a8bec7cbe5d0fa594340 (diff)
updated wheezy instructions
-rw-r--r--pages/linux/en.md8
-rw-r--r--public/linux/index.en.html9
2 files changed, 4 insertions, 13 deletions
diff --git a/pages/linux/en.md b/pages/linux/en.md
index 4a9b4c7..c86b645 100644
--- a/pages/linux/en.md
+++ b/pages/linux/en.md
@@ -20,13 +20,9 @@ This is the recommended method of installing Bitmask. If installed as a package,
### Debian 7.0 (Wheezy)
-For wheezy, you must have `wheezy-backports` enabled as a software source in `/etc/apt/sources.list`. For example:
+For wheezy, you must have `wheezy-backports` enabled as a software source in `/etc/apt/sources.list`. If you don't have backports enabled, you can add it like so:
- deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
-
-Or, if you have faith in shell:
-
- grep wheezy-backports /etc/apt/sources.list || grep "^deb .*debian\.org.*wheezy main" /etc/apt/sources.list | sed 's/wheezy/wheezy-backports/' >> /etc/apt/sources.list
+ sudo add-apt-repository 'deb http://http.debian.net/debian wheezy-backports main'
For instructions on adding backports via a user interface, see the [Debian backports page](https://wiki.debian.org/Backports).
diff --git a/public/linux/index.en.html b/public/linux/index.en.html
index c977a5c..2071ef1 100644
--- a/public/linux/index.en.html
+++ b/public/linux/index.en.html
@@ -116,14 +116,9 @@ Downloads
<h3><a name="debian-70-wheezy"></a>Debian 7.0 (Wheezy)</h3>
-<p>For wheezy, you must have <code>wheezy-backports</code> enabled as a software source in <code>/etc/apt/sources.list</code>. For example:</p>
+<p>For wheezy, you must have <code>wheezy-backports</code> enabled as a software source in <code>/etc/apt/sources.list</code>. If you don&rsquo;t have backports enabled, you can add it like so:</p>
-<pre><code>deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
-</code></pre>
-
-<p>Or, if you have faith in shell:</p>
-
-<pre><code>grep wheezy-backports /etc/apt/sources.list || grep "^deb .*debian\.org.*wheezy main" /etc/apt/sources.list | sed 's/wheezy/wheezy-backports/' &gt;&gt; /etc/apt/sources.list
+<pre><code>sudo add-apt-repository 'deb http://http.debian.net/debian wheezy-backports main'
</code></pre>
<p>For instructions on adding backports via a user interface, see the <a href="https://wiki.debian.org/Backports">Debian backports page</a>.</p>