From c70e576b6049e33ed2910355b16a32a34bfc9435 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Sat, 7 Oct 2023 22:24:59 +0000 Subject: [PATCH] sudo --- bin/apt_get_39.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/apt_get_39.sh b/bin/apt_get_39.sh index ef3d12f2..b36fb2ba 100755 --- a/bin/apt_get_39.sh +++ b/bin/apt_get_39.sh @@ -4,11 +4,11 @@ set -e sudo apt-get -y update && \ sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ software-properties-common && \ - add-apt-repository -y ppa:ubuntu-toolchain-r/test && \ - apt-get -y update && \ - apt-get install g++-11 gcc-11 && \ + sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && \ + sudo apt-get -y update && \ + sudo apt-get install g++-11 gcc-11 && \ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10 && \ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10 && \ + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10 sudo apt-get -y update && \ sudo apt-get -y install \ cmake \