Skip to content

Commit 4b2b681

Browse files
Update ros_and_workspace_setup.sh
1 parent 559202f commit 4b2b681

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ros_and_workspace_setup.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,11 @@ CURR_OS="$(lsb_release -sc)"
3030
if [ $CURR_OS = "xenial" ]; then
3131
ROS_DIS="kinetic"
3232

33-
if [ $CURR_OS = "bionic" ]; then
33+
elif [ $CURR_OS = "bionic" ]; then
3434
ROS_DIS="melodic"
35-
#ROS1_DIS="noetic"
3635

37-
if [ $CURR_OS = "focal" ]; then
38-
ROS_DIS="melodic"
39-
#ROS1_DIS="noetic"
36+
elif [ $CURR_OS = "focal" ]; then
37+
ROS1_DIS="noetic"
4038
else
4139
echo "$CURR_OS is might not be supported yet! check https://support.thinklucid.com/using-ros-for-linux/"
4240
exit -1

0 commit comments

Comments
 (0)