diff options
-rw-r--r-- | ros2-galactic.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ros2-galactic.install b/ros2-galactic.install index e57ab249713d..3a08069c151b 100644 --- a/ros2-galactic.install +++ b/ros2-galactic.install @@ -11,11 +11,11 @@ post_install() { You should add something like this to your ~/.bashrc file: export ROS_DOMAIN_ID=42 - source /opt/ros2/foxy/setup.bash + source /opt/ros2/galactic/setup.bash This quick command will do it for you: - printf \"\\\nexport ROS_DOMAIN_ID=42\\\nsource /opt/ros2/foxy/setup.bash\\\n\" >> ~/.bashrc + printf \"\\\nexport ROS_DOMAIN_ID=42\\\nsource /opt/ros2/galactic/setup.bash\\\n\" >> ~/.bashrc Note 1: If you use zsh, replace '.bash' in the above lines with '.zsh' and add the lines to ~/.zshrc . |