Skip to content
Snippets Groups Projects
Commit 48e88e20 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: trixie has no unstable in dist

parent 2d4c2595
No related branches found
No related tags found
1 merge request!781chore: clang-16
...@@ -91,9 +91,12 @@ case ${ID} in ...@@ -91,9 +91,12 @@ case ${ID} in
esac esac
# Clang version and repository # Clang version and repository
CLANG="-16" CLANG="-16"
if [ ${VERSION_CODENAME} = trixie ] ; then VERSION_CODENAME=unstable ; fi
curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - curl -s https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
echo "deb http://apt.llvm.org/${VERSION_CODENAME} llvm-toolchain-${VERSION_CODENAME}${CLANG} main" > /etc/apt/sources.list.d/llvm.list if [ ${VERSION_CODENAME} = trixie ] ; then
echo "deb http://apt.llvm.org/unstable llvm-toolchain${CLANG} main" > /etc/apt/sources.list.d/llvm.list
else
echo "deb http://apt.llvm.org/${VERSION_CODENAME} llvm-toolchain-${VERSION_CODENAME}${CLANG} main" > /etc/apt/sources.list.d/llvm.list
fi
# Install packages # Install packages
apt-get -yqq update apt-get -yqq update
apt-get -yqq install gcc${GCC} g++${GCC} gfortran${GCC} apt-get -yqq install gcc${GCC} g++${GCC} gfortran${GCC}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment