Skip to content

Commit 10d482a

Browse files
By adding the --yes option in add-apt-repository, the operation of pressing Enter is bypassed. (#20)
1 parent ce5c4b3 commit 10d482a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup-fortran.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ install_gcc_brew()
4343

4444
install_gcc_apt()
4545
{
46-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
46+
sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
4747
sudo apt-get update
4848
sudo apt-get install -y gcc-${version} gfortran-${version}
4949
sudo update-alternatives \

0 commit comments

Comments
 (0)