Skip to content

Commit 9fd82b0

Browse files
MatthijsBurghar13pit
authored andcommitted
apply some fixes for now option
1 parent a934f26 commit 9fd82b0

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

installer/tue-install-impl.bash

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,21 @@ function tue-install-rosdep
170170
tue-install-debug "rosdep correctly resolved to: ${rosdep_res[*]}"
171171

172172
case ${rosdep_res[0]} in
173-
"#apt") tue-install-system ${rosdep_res[1]}
173+
"#apt")
174+
if [ "$now" == "true" ]
175+
then
176+
tue-install-system-now "${rosdep_res[1]}"
177+
else
178+
tue-install-system "${rosdep_res[1]}"
179+
fi
174180
;;
175-
"#pip") tue-install-pip ${rosdep_res[1]}
181+
"#pip")
182+
if [ "$now" == "true" ]
183+
then
184+
tue-install-pip-now "${rosdep_res[1]}"
185+
else
186+
tue-install-pip "${rosdep_res[1]}"
187+
fi
176188
;;
177189
*) tue-install-debug "Unsupported rosdep output: ${rosdep_res[*]}";
178190
TUE_INSTALL_CURRENT_TARGET=$parent_target;

0 commit comments

Comments
 (0)