From: Michael Stapelberg Date: Wed, 1 Feb 2012 13:11:44 +0000 (+0000) Subject: update repositories with a command using /etc/lsb-release X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3.github.io;a=commitdiff_plain;h=fea8f66019a9b2586ce07e6b4a8534dad68cf0ab update repositories with a command using /etc/lsb-release --- diff --git a/_docs/repositories b/_docs/repositories index c51adca..53d918d 100644 --- a/_docs/repositories +++ b/_docs/repositories @@ -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 diff --git a/docs/repositories.html b/docs/repositories.html index 943165d..58004ee 100644 --- a/docs/repositories.html +++ b/docs/repositories.html @@ -84,7 +84,8 @@ You want the latest i3 development version 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