File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99fi
1010
1111desired_version=" 2.9.2"
12- installed_version=$( apt-cache policy ros-$TUE_ROS_DISTRO -gazebo-plugins | grep " Installed" | awk ' {print $2}' )
13- if [ $installed_version == " (none)" ]
12+ installed_version=$( apt-cache policy ros-" $TUE_ROS_DISTRO " -gazebo-plugins | grep " Installed" | awk ' {print $2}' )
13+ if [ " $installed_version " == " (none)" ]
1414then
1515 tue-install-debug " Not installed yet, so the newest version will be installed"
1616elif version_gt " $desired_version " " $installed_version "
1717then
1818 tue-install-echo " Going to install desired version($desired_version ), current version: $installed_version "
19- tue-install-pipe sudo apt-get install --assume-yes -q ros-$TUE_ROS_DISTRO -gazebo-plugins
19+ tue-install-pipe sudo apt-get install --assume-yes -q ros-" $TUE_ROS_DISTRO " -gazebo-plugins
2020else
2121 tue-install-debug " Already on the desired version($desired_version ): $installed_version "
2222fi
You can’t perform that action at this time.
0 commit comments