From: Michael Stapelberg Date: Wed, 1 Feb 2012 13:24:24 +0000 (+0000) Subject: docs/repositories: use lsb_release (Thanks sur5r) X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3.github.io;a=commitdiff_plain;h=b112b0c1fa9d02a03cb22fc39240eba23d21099b docs/repositories: use lsb_release (Thanks sur5r) --- diff --git a/_docs/repositories b/_docs/repositories index 53d918d..9846679 100644 --- a/_docs/repositories +++ b/_docs/repositories @@ -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 diff --git a/docs/repositories.html b/docs/repositories.html index 58004ee..66bacd4 100644 --- a/docs/repositories.html +++ b/docs/repositories.html @@ -84,8 +84,7 @@ You want the latest i3 development version 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