Skip to content

Commit 78d622b

Browse files
author
ladyada
committed
check link exists
1 parent 948602c commit 78d622b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

actions_install.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ pip3 install clint pyserial setuptools adafruit-nrfutil
66
sudo apt-get update
77
sudo apt-get install -y --allow-downgrades libllvm8=1:8-3~ubuntu18.04.2 -V
88
sudo apt install -fy cppcheck clang-format-8
9-
sudo ln -s /usr/bin/clang-format-8 /usr/bin/clang-format
9+
if [ ! -f /usr/bin/clang-format ]; then
10+
sudo ln -s /usr/bin/clang-format-8 /usr/bin/clang-format
11+
fi
1012

1113
# make all our directories we need for files and libraries
1214
mkdir ${HOME}/.arduino15

0 commit comments

Comments
 (0)