浏览代码

Properly install ppa, avoid GPG key warning

kim0 12 年之前
父节点
当前提交
4e576f047f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/sources/installation/ubuntulinux.rst

+ 2 - 2
docs/sources/installation/ubuntulinux.rst

@@ -54,9 +54,9 @@ which makes installing Docker on Ubuntu very easy.
 .. code-block:: bash
 
    # Add the PPA sources to your apt sources list.
-   sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' > /etc/apt/sources.list.d/lxc-docker.list"
+   sudo apt-get install python-software-properties && sudo add-apt-repository ppa:dotcloud/lxc-docker
 
-   # Update your sources, you will see a warning.
+   # Update your sources
    sudo apt-get update
 
    # Install, you will see another warning that the package cannot be authenticated. Confirm install.