diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9a85857b8539c18ed23aeadd7082f42c8c94f53..c91e5088d7c60e4f8a919d0f4d191b5420dea2d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,12 +10,13 @@ - declare -a DEP - echo ${DEP[1]:1} - echo ${DEP[4]} - #- for ((i=1;i<${#DEP[@]};i+=3)) - # do - # if [ ${i} -eq 1 ] - # then - # apt -y install ${DEP[${i}]:1}; - # else - # apt -y install ${DEP[${i}]}; - # fi - # done \ No newline at end of file + - |+ + for ((i=1;i<${#DEP[@]};i+=3)) + do + if [ ${i} -eq 1 ] + then + apt -y install ${DEP[${i}]:1}; + else + apt -y install ${DEP[${i}]}; + fi + done \ No newline at end of file