]> git.sur5r.net Git - i3/i3.github.io/commitdiff
update repositories with a command using /etc/lsb-release
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 1 Feb 2012 13:11:44 +0000 (13:11 +0000)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 1 Feb 2012 13:11:44 +0000 (13:11 +0000)
_docs/repositories
docs/repositories.html

index c51adcab82a338f7f09bb4234f3e5b921f3b7628..53d918d07e59f936797ac186ffca84bb3c178d5e 100644 (file)
@@ -32,7 +32,8 @@ This Ubuntu repository is provided by sur5r and contains the latest stable
 release of i3. To use it, run the following commands:
 
 ---------------------------------------------------------------------------------
-# echo 'deb http://debian.sur5r.net/i3/ natty universe' >> /etc/apt/sources.list
+# . /etc/lsb-release
+# echo "deb http://debian.sur5r.net/i3/ $DISTRIB_CODENAME universe" >> /etc/apt/sources.list
 # apt-get update
 # apt-get --allow-unauthenticated install sur5r-keyring
 # apt-get update
index 943165dfaea9fab0118454f6c87b3fb7d7eda4af..58004eec1b35ba82e5572513323603155421d4ad 100644 (file)
@@ -84,7 +84,8 @@ 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># echo 'deb http://debian.sur5r.net/i3/ natty universe' &gt;&gt; /etc/apt/sources.list\r
+<pre><tt># . /etc/lsb-release\r
+# echo "deb http://debian.sur5r.net/i3/ $DISTRIB_CODENAME universe" &gt;&gt; /etc/apt/sources.list\r
 # apt-get update\r
 # apt-get --allow-unauthenticated install sur5r-keyring\r
 # apt-get update\r