diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 1ffbb361..26bd6104 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -109,7 +109,12 @@ if [[ -z $NOVIM ]]; then echo "\n" | vim +PluginInstall +qa if [[ -z $NOYCM ]]; then cd ~/.vim/bundle/YouCompleteMe - python3 ./install.py --clang-completer --racer-completer --tern-completer + + if [[ -z $NOPYTHON3 ]]; then + python3 ./install.py --clang-completer --racer-completer --tern-completer + else + python ./install.py --clang-completer --racer-completer --tern-completer + fi fi fi diff --git a/ubuntu/trusty/configure_fresh_system b/ubuntu/trusty/configure_fresh_system index becc6d1e..087323ae 100755 --- a/ubuntu/trusty/configure_fresh_system +++ b/ubuntu/trusty/configure_fresh_system @@ -29,4 +29,5 @@ sudo apt-get -y install mono-devel mono-complete DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$DIR/../../" export NO_GO=true +eport NOPYTHON3=true DIR="$DIR" $DIR/common/configure_fresh_system