Skip to content

Commit ba12847

Browse files
MatthijsBurghar13pit
authored andcommitted
apply some fixes for now option
1 parent df2cb46 commit ba12847

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
@@ -172,9 +172,21 @@ function tue-install-rosdep
172172
tue-install-debug "rosdep correctly resolved to: ${rosdep_res[*]}"
173173

174174
case ${rosdep_res[0]} in
175-
"#apt") tue-install-system ${rosdep_res[1]}
175+
"#apt")
176+
if [ "$now" == "true" ]
177+
then
178+
tue-install-system-now "${rosdep_res[1]}"
179+
else
180+
tue-install-system "${rosdep_res[1]}"
181+
fi
176182
;;
177-
"#pip") tue-install-pip ${rosdep_res[1]}
183+
"#pip")
184+
if [ "$now" == "true" ]
185+
then
186+
tue-install-pip-now "${rosdep_res[1]}"
187+
else
188+
tue-install-pip "${rosdep_res[1]}"
189+
fi
178190
;;
179191
*) tue-install-debug "Unsupported rosdep output: ${rosdep_res[*]}";
180192
TUE_INSTALL_CURRENT_TARGET=$parent_target;

0 commit comments

Comments
 (0)