Pārlūkot izejas kodu

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

Fixes #67.
Wolfgang Hess 8 gadi atpakaļ
vecāks
revīzija
9511abae38
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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
 
     # 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 install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y