From b112b0c1fa9d02a03cb22fc39240eba23d21099b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 1 Feb 2012 13:24:24 +0000 Subject: [PATCH] docs/repositories: use lsb_release (Thanks sur5r) --- _docs/repositories | 3 +-- docs/repositories.html | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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
-- 
2.39.5