summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2012-06-14 09:35:17 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2012-06-14 09:35:17 -0700
commit446e5d8ed29eab242cceb113522e28cb946c043e (patch)
tree3d4da4720ead97e6621f506f4b8192d0fc959e3f /doc
parent97c9f0143073cc26abeeb265a58322939f00d697 (diff)
downloadceph-446e5d8ed29eab242cceb113522e28cb946c043e.tar.gz
doc: fixed bash syntax error.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/install/debian.rst11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/install/debian.rst b/doc/install/debian.rst
index a2b60e25b42..b1456b2cf54 100644
--- a/doc/install/debian.rst
+++ b/doc/install/debian.rst
@@ -19,7 +19,7 @@ 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/ ${lsb_release -sc} 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
------------------------
@@ -36,17 +36,14 @@ Add our package repository to your system's list of APT sources, but replace ``{
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-${lsb_release -sc}-x86_64-basic/ref/{BRANCH} ${lsb_release -sc} 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
-------------------
Once you have added either release or development packages to APT,
-you should update APT's database::
+you should update APT's database and install Ceph::
- sudo apt-get update
+ sudo apt-get update && sudo apt-get install ceph
-Install Ceph::
-
- sudo apt-get install ceph
.. _the Debian repository: http://ceph.com/debian/dists