Skip to content

Commit

Permalink
By adding the --yes option in add-apt-repository, the operation of pr…
Browse files Browse the repository at this point in the history
…essing Enter is bypassed. (#20)
  • Loading branch information
kohei-noda-qcrg committed May 14, 2023
1 parent ce5c4b3 commit 10d482a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup-fortran.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ install_gcc_brew()

install_gcc_apt()
{
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-${version} gfortran-${version}
sudo update-alternatives \
Expand Down

0 comments on commit 10d482a

Please sign in to comment.