From 5af02721e8cf3daf9276bde6637d7e2bf549639d Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Wed, 21 Apr 2021 11:15:20 +0200 Subject: [PATCH] order seems to matter --- scripts/1_Install_Dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/1_Install_Dependencies.sh b/scripts/1_Install_Dependencies.sh index 3921666..44d75b0 100755 --- a/scripts/1_Install_Dependencies.sh +++ b/scripts/1_Install_Dependencies.sh @@ -54,14 +54,14 @@ apt-get -y -qq install $_DEPENDENCIES; if [[ $CARCH == 'x86_64' ]];then # Installs (non-ancient) clang apt install -y software-properties-common apt-transport-https ca-certificates - apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add + apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" apt-get update apt-get -y install clang-11 libclang-11-dev else apt install -y software-properties-common apt-transport-https ca-certificates - apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add + apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" apt-get update apt-get -y install clang-10 libclang-10-dev fi