Skip to content

Commit afe29d8

Browse files
committed
ci: install OR deps last
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 7b253c7 commit afe29d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/DependencyInstaller.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,22 +306,21 @@ case "${os}" in
306306
if [[ ${CI} == "yes" ]]; then
307307
echo "WARNING: Installing CI dependencies is only supported on Ubuntu 22.04" >&2
308308
fi
309-
_installORDependencies
310309
if [[ "${option}" == "base" || "${option}" == "all" ]]; then
311310
_installCentosPackages
312311
_installCentosCleanUp
313312
fi
314313
if [[ "${option}" == "common" || "${option}" == "all" ]]; then
315314
_installCommon
316315
fi
316+
_installORDependencies
317317
;;
318318
"Ubuntu" )
319319
version=$(awk -F= '/^VERSION_ID/{print $2}' /etc/os-release | sed 's/"//g')
320320
if [[ ${CI} == "yes" ]]; then
321321
echo "Installing CI Tools"
322322
_installCI
323323
fi
324-
_installORDependencies
325324
if [[ "${option}" == "base" || "${option}" == "all" ]]; then
326325
_installUbuntuPackages "${version}"
327326
_installUbuntuCleanUp
@@ -331,18 +330,19 @@ case "${os}" in
331330
_installCommon
332331
fi
333332
fi
333+
_installORDependencies
334334
;;
335335
"Darwin" )
336336
if [[ ${CI} == "yes" ]]; then
337337
echo "WARNING: Installing CI dependencies is only supported on Ubuntu 22.04" >&2
338338
fi
339-
_installORDependencies
340339
if [[ "${option}" == "base" || "${option}" == "all" ]]; then
341340
_installDarwinPackages
342341
fi
343342
if [[ "${option}" == "common" || "${option}" == "all" ]]; then
344343
_installCommon
345344
fi
345+
_installORDependencies
346346
;;
347347
*)
348348
echo "unsupported system: ${os}" >&2

0 commit comments

Comments
 (0)