Skip to content

Commit

Permalink
Back to PPA.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Nov 8, 2024
1 parent e3782ad commit 15ecf36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .ci/linux-cxx-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ OS_ISSUE=`cat /etc/issue | head -n1 | cut -d " " -f1`
echo ">>>>> OS Issue: ${OS_ISSUE}"

PACKAGES=${PACKAGES:-build-essential}
# APT_OPT="-o Acquire::Retries=3 -yq --no-install-suggests --no-install-recommends"
APT_OPT="-o Acquire::Retries=3 -yq"
APT_OPT="-o Acquire::Retries=3 -yq --no-install-suggests --no-install-recommends --reinstall"
# APT_OPT="-o Acquire::Retries=3 -yq"

set -e
echo ">>>>>"
Expand All @@ -28,9 +28,9 @@ echo ">>>>>"
echo ">>>>> APT: REPO.."
echo ">>>>>"
${SUDO} apt-get ${APT_OPT} install software-properties-common
# if test "${OS_ISSUE}" = "Ubuntu" ; then
# ${SUDO} apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
# fi
if test "${OS_ISSUE}" = "Ubuntu" ; then
${SUDO} apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
fi
if test -n "${LLVM_OS}" ; then
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
${SUDO} apt-add-repository "deb http://apt.llvm.org/${LLVM_OS}/ llvm-toolchain-${LLVM_OS}-${LLVM_VER} main"
Expand All @@ -42,10 +42,10 @@ ${SUDO} apt-get ${APT_OPT} update
echo ">>>>>"
echo ">>>>> APT: INSTALL 2/2: ${PACKAGES}.."
echo ">>>>>"
${SUDO} apt-get ${APT_OPT} install --no-install-recommends ${PACKAGES}
${SUDO} apt-get ${APT_OPT} install ${PACKAGES}

# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE.txt)
#
# Copyright Rene Rivera 2020-2023.
# Copyright René Ferdinand Rivera Morell

0 comments on commit 15ecf36

Please sign in to comment.