From fea8f66019a9b2586ce07e6b4a8534dad68cf0ab Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 1 Feb 2012 13:11:44 +0000 Subject: [PATCH] update repositories with a command using /etc/lsb-release --- _docs/repositories | 3 ++- docs/repositories.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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
-- 
2.39.5