[bootstrap] overwrite existing links (#6094)

Create links with forced overwrite flag to prevent a failing script if
a link already exist.
This commit is contained in:
Matthias Deimbacher
2021-01-19 19:32:39 +01:00
committed by GitHub
parent 5e5f4c7ed3
commit ba97f96fc7
+1 -1
View File
@@ -70,7 +70,7 @@ install_packages_apt()
&& wget -c https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \
&& tar xjf gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -C /opt \
&& rm gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 \
&& sudo ln -s /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
&& sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
fi
if [ "$PLATFORM" != "Raspbian" ]; then