Skip to content

Commit

Permalink
Update install.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar-Ray-code authored Nov 20, 2022
1 parent f2598b0 commit 97cb710
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ if [ ! -z "$DL_ONLY" ]; then
fi

rm $TARGET_ZIP
unset TARGET_ZIP ROS_INSTALL_DIR VERSION TARGET_DISTRO


sudo bash $SCRIPT_DIR/rpi-bullseye-ros2/install-list/apt.bash $SCRIPT_DIR/rpi-bullseye-ros2/install-list/apt-list.txt
pip3 install -r $SCRIPT_DIR/rpi-bullseye-ros2/install-list/requirements.txt
sudo pip3 install vcstool colcon-common-extensions
# Delete downloaded repository and unset env
rm -rf $SCRIPT_DIR/rpi-bullseye-ros2
unset SCRIPT_DIR

if [ -f $ROS_INSTALL_DIR/$TARGET_DISTRO/setup.bash ]; then
echo "" && echo ""
Expand All @@ -90,4 +89,6 @@ if [ -f $ROS_INSTALL_DIR/$TARGET_DISTRO/setup.bash ]; then
exit 0
fi

unset TARGET_ZIP ROS_INSTALL_DIR VERSION TARGET_DISTRO SCRIPT_DIR

exit 1

0 comments on commit 97cb710

Please sign in to comment.