浏览代码

'rosdep init' needs 'sudo'. (#68)

Fixes #67.
Wolfgang Hess 8 年之前
父节点
当前提交
9511abae38
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/source/index.rst

+ 3 - 1
docs/source/index.rst

@@ -55,7 +55,9 @@ using `Ninja <https://ninja-build.org>`_.
     wstool update -t src
     wstool update -t src
 
 
     # Install deb dependencies.
     # Install deb dependencies.
-    rosdep init
+    # The command 'sudo rosdep init' will print an error if you have already
+    # executed it since installing ROS. This error can be ignored.
+    sudo rosdep init
     rosdep update
     rosdep update
     rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
     rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y