diff options
author | Mohammad Farzan | 2022-08-04 10:12:25 +0430 |
---|---|---|
committer | GitHub Action | 2022-08-04 05:42:53 +0000 |
commit | 380ef34ef102e6b94c690144b5fabb6afd3989f6 (patch) | |
tree | 4f53c6220bde4c49dec9a2574277fa2695a6e0fa | |
parent | 9c199c0ee809752dcdc529a9a190db3e2c478898 (diff) | |
download | aur-380ef34ef102e6b94c690144b5fabb6afd3989f6.tar.gz |
Fix install location in post_install message
-rw-r--r-- | ros2-humble.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ros2-humble.install b/ros2-humble.install index 63ad46dd03d3..6e6e70b4a0e8 100644 --- a/ros2-humble.install +++ b/ros2-humble.install @@ -4,11 +4,11 @@ post_install() { You should add something like this to your ~/.bashrc file: export ROS_DOMAIN_ID=42 - source /opt/ros2/humble/setup.bash + source /opt/ros/humble/setup.bash This quick command will do it for you: - printf \"\\\nexport ROS_DOMAIN_ID=42\\\nsource /opt/ros2/humble/setup.bash\\\n\" >> ~/.bashrc + printf \"\\\nsource /opt/ros/humble/setup.bash\\\n\" >> ~/.bashrc Note 1: If you use zsh, replace '.bash' in the above lines with '.zsh' and add the lines to ~/.zshrc . |