summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2012-06-05 08:15:47 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2012-06-05 08:15:47 -0700
commite83a84c09f8a5ca48e104e65a43b21abc837e029 (patch)
tree3b9bcb300833dbb2a6b7710b08ef85b029c69eda /doc
parentfc1f9e0b5636f47df39ca20bc393711b76843883 (diff)
downloadceph-e83a84c09f8a5ca48e104e65a43b21abc837e029.tar.gz
doc: Added ${lsb_release -sc} based on Sam's feedback.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/install/debian.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/doc/install/debian.rst b/doc/install/debian.rst
index 9f3498cf891..a2b60e25b42 100644
--- a/doc/install/debian.rst
+++ b/doc/install/debian.rst
@@ -15,12 +15,11 @@ security warning::
wget -q -O- https://raw.github.com/ceph/ceph/master/keys/release.asc | sudo apt-key add -
-Add our package repository to your system's list of APT sources, but
-replace ``{DISTRO}`` with the code name for Debian/Ubuntu distribution
-(*e.g.,* ``precise`` for Ubuntu ``12.04``). See `the Debian repository`_
-for a complete list of distributions supported. ::
+Add our package repository to your system's list of APT sources.
+See `the Debian repository`_ for a complete list of distributions
+supported. ::
- echo deb http://ceph.com/debian/ {DISTRO} main | sudo tee /etc/apt/sources.list.d/ceph.list
+ echo deb http://ceph.com/debian/ ${lsb_release -sc} main | sudo tee /etc/apt/sources.list.d/ceph.list
Add Development Packages
------------------------
@@ -34,10 +33,10 @@ security warning::
wget -q -O- https://raw.github.com/ceph/ceph/master/keys/autobuild.asc \ | sudo apt-key add -
Add our package repository to your system's list of APT sources, but replace ``{BRANCH}``
-with the branch you'd like to use (e.g., chef-3, wip-hack, master, stable)
-and ``{DISTRO}`` with your distribution (we support ``maveric``, ``oneiric``, and ``precise``)::
+with the branch you'd like to use (e.g., chef-3, wip-hack, master, stable).
+We support ``maveric``, ``oneiric``, and ``precise`` distributions. ::
- echo deb http://gitbuilder.ceph.com/ceph-deb-{DISTRO}-x86_64-basic/ref/{BRANCH} {DISTRO} main | sudo tee /etc/apt/sources.list.d/ceph.list
+ echo deb http://gitbuilder.ceph.com/ceph-deb-${lsb_release -sc}-x86_64-basic/ref/{BRANCH} ${lsb_release -sc} main | sudo tee /etc/apt/sources.list.d/ceph.list
Installing Packages
-------------------