refactor: Modularize vagrant scripts

This commit is contained in:
Blade Barringer
2016-01-18 10:08:49 -06:00
parent 0ee7970276
commit 89ef7c24c4
6 changed files with 51 additions and 46 deletions

13
vagrant_scripts/install_gcc.sh Executable file
View File

@@ -0,0 +1,13 @@
echo Adding PPA repository for gcc...
add-apt-repository ppa:ubuntu-toolchain-r/test
apt-get update -qq
echo Installing gcc 4.8...
apt-get install -qq gcc-4.8 g++-4.8
update-alternatives --remove-all gcc
update-alternatives --remove-all g++
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20
update-alternatives --config gcc
update-alternatives --config g++