]> git.sur5r.net Git - i3/i3.github.io/commitdiff
docs/repositories: use lsb_release (Thanks sur5r)
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 1 Feb 2012 13:24:24 +0000 (13:24 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 1 Feb 2012 13:24:24 +0000 (13:24 +0000)
_docs/repositories
docs/repositories.html

index 53d918d07e59f936797ac186ffca84bb3c178d5e..9846679e8565b0822c9db7ccd1ebcdc8ef71eb8e 100644 (file)
@@ -32,8 +32,7 @@ This Ubuntu repository is provided by sur5r and contains the latest stable
 release of i3. To use it, run the following commands:
 
 ---------------------------------------------------------------------------------
-# . /etc/lsb-release
-# echo "deb http://debian.sur5r.net/i3/ $DISTRIB_CODENAME universe" >> /etc/apt/sources.list
+# echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" >> /etc/apt/sources.list
 # apt-get update
 # apt-get --allow-unauthenticated install sur5r-keyring
 # apt-get update
index 58004eec1b35ba82e5572513323603155421d4ad..66bacd4c31e8464f9f4d847062189539f0880266 100644 (file)
@@ -84,8 +84,7 @@ You want the latest i3 development version
 release of i3. To use it, run the following commands:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># . /etc/lsb-release\r
-# echo "deb http://debian.sur5r.net/i3/ $DISTRIB_CODENAME universe" &gt;&gt; /etc/apt/sources.list\r
+<pre><tt># echo "deb http://debian.sur5r.net/i3/ $(lsb_release -c -s) universe" &gt;&gt; /etc/apt/sources.list\r
 # apt-get update\r
 # apt-get --allow-unauthenticated install sur5r-keyring\r
 # apt-get update\r