From 4b2b6812d0c273ff606e9404d23344bf293a00c9 Mon Sep 17 00:00:00 2001 From: lucidvisionlabs <53492358+lucidvisionlabs@users.noreply.github.com> Date: Wed, 19 May 2021 10:23:32 -0700 Subject: [PATCH] Update ros_and_workspace_setup.sh --- ros_and_workspace_setup.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ros_and_workspace_setup.sh b/ros_and_workspace_setup.sh index 871af070..317a8802 100755 --- a/ros_and_workspace_setup.sh +++ b/ros_and_workspace_setup.sh @@ -30,13 +30,11 @@ CURR_OS="$(lsb_release -sc)" if [ $CURR_OS = "xenial" ]; then ROS_DIS="kinetic" -if [ $CURR_OS = "bionic" ]; then +elif [ $CURR_OS = "bionic" ]; then ROS_DIS="melodic" - #ROS1_DIS="noetic" -if [ $CURR_OS = "focal" ]; then - ROS_DIS="melodic" - #ROS1_DIS="noetic" +elif [ $CURR_OS = "focal" ]; then + ROS1_DIS="noetic" else echo "$CURR_OS is might not be supported yet! check https://support.thinklucid.com/using-ros-for-linux/" exit -1