cangrow.sh - add arduino-cli lib update-index before installing libs

This commit is contained in:
DeltaLima 2024-10-24 21:52:21 +02:00
parent 8e5268df22
commit ca4eb8cfd6

View file

@ -76,6 +76,7 @@ case $1 in
${ACLI_CMD} core install ${CORES[$core]} ${ACLI_CMD} core install ${CORES[$core]}
done done
echo ":: Installing Arduino libraries" echo ":: Installing Arduino libraries"
${ACLI_CMD} lib update-index
for lib in ${!LIBS[@]} for lib in ${!LIBS[@]}
do do
echo " - ${LIBS[$lib]}" echo " - ${LIBS[$lib]}"